Options

data class Options(noLocation: Boolean?, allowLegacySDLEmptyFields: Boolean, allowLegacySDLImplementsInterfaces: Boolean)

Configuration options to control parser behavior

Constructors

Options
Link copied to clipboard
fun Options(noLocation: Boolean? = null, allowLegacySDLEmptyFields: Boolean = false, allowLegacySDLImplementsInterfaces: Boolean = false)

Properties

allowLegacySDLEmptyFields
Link copied to clipboard
val allowLegacySDLEmptyFields: Boolean = false
If enabled, the parser will parse empty fields sets in the Schema Definition Language.
allowLegacySDLImplementsInterfaces
Link copied to clipboard
val allowLegacySDLImplementsInterfaces: Boolean = false
If enabled, the parser will parse implemented interfaces with no & character between each interface.
noLocation
Link copied to clipboard
val noLocation: Boolean? = null
By default, the parser creates AST nodes that know the location in the source that they correspond to.