SchemaValidationOptions
class SchemaValidationOptions(val addKotlinLabsDefinitions: Boolean, val foreignSchemas: List<ForeignSchema>, val excludeCacheDirectives: Boolean)
Parameters
addKotlinLabsDefinitions
automatically import the kotlin_labs definitions, even if no @link is present. If excludeCacheDirectives is true, cache related directives are excluded.
foreignSchemas
a list of known ForeignSchema that may or may not be imported depending on the @link directives
excludeCacheDirectives
whether to exclude cache related directives when auto-importing the kotlin_labs definitions. Has no effect if addKotlinLabsDefinitions is false.
Constructors
Link copied to clipboard
constructor(addKotlinLabsDefinitions: Boolean, foreignSchemas: List<ForeignSchema>, excludeCacheDirectives: Boolean)