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