lib/rails/graphql/helpers/with_fields.rb
def validate!(*)
          super if defined? super

          # TODO: Maybe find a way to freeze the fields, since after validation
          # the best thing to do is block changes
          fields.each_value(&:validate!)
        end
# Validate all the fields to make sure the definition is valid
Validate all the fields to make sure the definition is valid
Validate all the fields to make sure the definition is valid
def validate!(*)
          super if defined? super
          fields.each_value(&:validate!)
        end
def validate! ( * ) super if defined? super fields . each_value ( & :validate! ) end
Validate all the fields to make sure the definition is valid
Validate all the fields to make sure the definition is valid
# TODO: Maybe find a way to freeze the fields, since after validation # the best thing to do is block changes