Options
Constructors
A shorthand version that takes a File as input for the schema as well as a simple packageName and has default values for quick configuration. XXX: move this to a builder?
Types
Functions
Properties
A list of Regex patterns for GraphQL enums that should be generated as Java classes.
Whether to generate the com.apollographql.apollo3.api.Fragment as well as response and variables adapters. If generateFragmentsAsInterfaces is true, this will also generate data classes for the fragments.
Whether to generate operation variables as com.apollographql.apollo3.api.Optional
Whether to embed the query document in the com.apollographql.apollo3.api.Operations. By default this is true as it is needed to send the operations to the server. If performance is critical and you have a way to whitelist/read the document from another place, disable this.
A list of Regex patterns for GraphQL enums that should be generated as Kotlin sealed classes instead of the default Kotlin enums.