FieldHasValue is a datatype for an assertion that an event output from a parser test case has an expected value for a given field.

This datatype is used by the datatype, ParserTestCaseOutputAssertions, which is used by ParserTestCaseAssertionsForOutput, which in turn is used by ParserTestCase, which is ultimately used by a few mutations and queries

Table: FieldHasValue

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
expectedValuestringyes Long-TermThe value expected to be contained in the field.
fieldNamestringyes Long-TermThe field on which to assert.