lib/rails/graphql/helpers/with_directives.rb
# Validate all the directives to make sure the definition is valid
Validate all the directives to make sure the definition is valid
Validate all the directives to make sure the definition is valid
def validate!(*)
          super if defined? super
          return unless defined? @directives
          @directives.each(&:validate!)
          @directives.freeze
        end
def validate! ( * ) super if defined? super return unless defined? @directives @directives . each ( & :validate! ) @directives . freeze end
Validate all the directives to make sure the definition is valid
Validate all the directives to make sure the definition is valid