lib/rails/graphql/source/scoped_arguments.rb
# Check if the argument should be attached to the given +field+
Check if the argument should be attached to the given +field+
Check if the argument should be attached to the given + field +
def attach_to?(field)
          return true if fields.nil?
          fields.any? do |item|
            (item.is_a?(Symbol) && field.name.eql?(item)) || field.gql_name.eql?(item)
          end
        end
def attach_to? ( field ) return true if fields . nil? fields . any? do | item | ( item . is_a? ( Symbol ) && field . name . eql? ( item ) ) || field . gql_name . eql? ( item ) end end
Check if the argument should be attached to the given +field+
Check if the argument should be attached to the given + field +
field