FieldUnexpectedlyPresent is a datatype for an assertion was made that a field should not be present, and this assertion failed.

This datatype is used by the union datatype, AssertionFailureOnField, ParserTestCaseOutputFailures, which is used by the datatype, ParserTestCaseFailuresForOutput and so on, which are ultimately used by the testParserV2() mutation field.

Table: FieldUnexpectedlyPresent

ParameterTypeRequiredDefaultStabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results.
Table last updated: Sep 25, 2024
actualValuestringyes Long-TermThe value that the field contained.
fieldNamestringyes Long-TermThe field being asserted on.