# `RiddlerGraphQL.Types.Finding`
[🔗](https://github.com/riddler/riddler_graphql/blob/v0.1.0/lib/riddler_graphql/types/finding.ex#L1)

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 key | Field | Type |
|---|---|---|
| `code` | `code` | `String!` |
| `message` | `message` | `String!` |
| `field` | `field` | `String`, null where riddler's is null |
| `element_key` | `elementKey` | `String`, null where riddler's is null |
| `position` | `position` | `JourneyPosition`, null where riddler's is null |
| `author_message` | `authorMessage` | `String`, 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`.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
