IrOptions
@Serializable
Constructors
Link copied to clipboard
constructor(fieldsOnDisjointTypesMustMerge: Boolean?, decapitalizeFields: Boolean?, flattenModels: Boolean?, warnOnDeprecatedUsages: Boolean?, failOnWarnings: Boolean?, addTypename: String?, generateOptionalOperationVariables: Boolean?, alwaysGenerateTypesMatching: Set<String>?, codegenModels: String?)
Properties
Link copied to clipboard
Link copied to clipboard
Additional scalar/enum/input types to generate. For input types, this will recursively add all input fields types/enums.
Link copied to clipboard
Link copied to clipboard
Whether to decapitalize field names in the generated models (for instance FooBar
->fooBar
).
Link copied to clipboard
Link copied to clipboard
Whether fields with different shape are disallowed to be merged in disjoint types.
Link copied to clipboard
Link copied to clipboard
Whether to generate operation variables as com.apollographql.apollo.api.Optional
Link copied to clipboard