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

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 23, 2024
fieldNamestringyes Long-TermThe name of the field which is being asserted.