Method: GraphQL::Schema::Member::HasArguments#validate_directive_argument
- Defined in:
- lib/graphql/schema/member/has_arguments.rb
#validate_directive_argument(arg_defn, value) ⇒ Object
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Usually, this is validated statically by RequiredArgumentsArePresent, but not for directives. TODO apply static validations on schema definitions?
316 317 318 319 |
# File 'lib/graphql/schema/member/has_arguments.rb', line 316 def validate_directive_argument(arg_defn, value) # this is only implemented on directives. nil end |