INPUT_OBJECT

TypeValidatorInput

TypeValidatorInput is used to construct a new type validator

link GraphQL Schema definition

  • input TypeValidatorInput {
  • # name is the unique name of the type validator
  • name: String!
  • # gtype is the type of object the validator will be applied to (ex: user)
  • gtype: String!
  • # expression is a boolean CEL expression used to evaluate the doc/connection
  • expression: String!
  • # if target_docs is true, this validator will be applied to documents.
  • target_docs: Boolean!
  • # if target_connections is true, this validator will be applied to connections.
  • target_connections: Boolean!
  • }