kgraphql / com.apurebase.kgraphql.request / Parser / Options

Options

data class Options

Configuration options to control parser behavior

Constructors

<init>

Configuration options to control parser behavior

Options(noLocation: Boolean? = null, allowLegacySDLEmptyFields: Boolean = false, allowLegacySDLImplementsInterfaces: Boolean = false)

Properties

allowLegacySDLEmptyFields

If enabled, the parser will parse empty fields sets in the Schema Definition Language. Otherwise, the parser will follow the current specification.

val allowLegacySDLEmptyFields: Boolean

allowLegacySDLImplementsInterfaces

If enabled, the parser will parse implemented interfaces with no & character between each interface. Otherwise, the parser will follow the current specification.

val allowLegacySDLImplementsInterfaces: Boolean

noLocation

By default, the parser creates AST nodes that know the location in the source that they correspond to. This configuration flag disables that behavior for performance or testing.

val noLocation: Boolean?