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 arguments may be required, as indicated in the Required column. For return datatypes, this indicates that you must specify which fields you want returned in the results.
Table last updated: Sep 25, 2024
actualValuestringyes Long-TermThe value that the field contained.
fieldNamestringyes Long-TermThe field being asserted on.