RiddlerGraphQL.Types.Finding (RiddlerGraphQL v0.1.0)

Copy Markdown View Source

The JourneyFinding object: one reason riddler refused something, typed.

A finding has the six keys riddler's finding schema requires, each in GraphQL's spelling:

Finding keyFieldType
codecodeString!
messagemessageString!
fieldfieldString, null where riddler's is null
element_keyelementKeyString, null where riddler's is null
positionpositionJourneyPosition, null where riddler's is null
author_messageauthorMessageString, null where riddler's is null

JourneyPosition is a place in some source text, a line and a column, both Int! and both one-based; the unit a column counts is the one the Riddler.Finding documentation names for the finding's code.

Each field reads a Riddler.Finding struct or its data form, the map of string keys riddler's finding schema describes, whichever the resolver that answers the finding hands it. A host imports the types with import_types RiddlerGraphQL.Types.Finding.