> The field at path '/field' was declared as a ...
# graphql-kotlin
p
The field at path '/field' was declared as a non null type, but the code involved in retrieving data has wrongly returned a null value. The graphql specification requires that the parent field be set to null, or if that is non nullable that it bubble up null to its parent and so on.
We get this when a
DataFetcherResult
for a non-nullable field returns an error. What's the best way to approach bubbling up the null on error to the root (or first nullable ancestor)?