AssertionOnFieldWasOrphaned is a datatype for assertion on a field that was orphaned. This occurs when an assertion was set to run on some output event that wasn't produced by the parser. That is, the assertion may be set to run on output event number 2, but the parser only produced one event.

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: AssertionOnFieldWasOrphaned

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
fieldNameStringyes Long-Term The name of the field which is being asserted.