OBJECT
TypeValidator
TypeValidator a graph primitive used to validate custom doc/connection constraints
link GraphQL Schema definition
- type TypeValidator {
- # name is the unique name of the type validator
- String! :
- # gtype is the type of object the validator will be applied to (ex: user)
- String! :
- # expression is a boolean CEL expression used to evaluate the doc/connection
- String! :
- # if docs is true, this validator will be applied to documents.
- Boolean! :
- # if docs is true, this validator will be applied to connections.
- Boolean! :
- }