SchemaValidationOptions

Constructors

Link copied to clipboard
constructor(addKotlinLabsDefinitions: Boolean, foreignSchemas: List<ForeignSchema>, computeKeyFields: Boolean, mergeOptions: MergeOptions)
constructor(addKotlinLabsDefinitions: Boolean, foreignSchemas: List<ForeignSchema>)

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard

add the builtin definitions. addBuiltinDefinitions allows validation of source schemas that don't contain builtin definitions. If null (default), only the missing definitions are added.

Link copied to clipboard

whether to compute cache key fields. Can be false when using the Apollo Cache compiler plugin to avoid unneeded computation.

Link copied to clipboard

a list of known ForeignSchema that may or may not be imported depending on the @link directives

Link copied to clipboard

the options to use when merging extensions.