kgraphql / com.apurebase.kgraphql / GraphQLError / locations

locations

val locations: List<LocationSource>?

An array of { line, column } locations within the source GraphQL document that correspond to this error.

Errors during validation often contain multiple locations, for example to point out two things with the same name. Errors during execution include a single location, the field that produced the error.

Getter

An array of { line, column } locations within the source GraphQL document that correspond to this error.

Errors during validation often contain multiple locations, for example to point out two things with the same name. Errors during execution include a single location, the field that produced the error.