Method: GraphQL::Schema::Validator#validate
- Defined in:
- lib/graphql/schema/validator.rb
#validate(object, context, value) ⇒ nil, ...
Returns Error message or messages to add.
23 24 25 |
# File 'lib/graphql/schema/validator.rb', line 23 def validate(object, context, value) raise GraphQL::RequiredImplementationMissingError, "Validator classes should implement #validate" end |