lib/rails/graphql/type.rb
# Checks if a given method can act as resolver
Checks if a given method can act as resolver
Checks if a given method can act as resolver
def gql_resolver?(method_name)
          ref_object = self
          ref_object = ref_object.superclass until ref_object.base_object?
          (instance_methods - ref_object.instance_methods).include?(method_name)
        end
def gql_resolver? ( method_name ) ref_object = self ref_object = ref_object . superclass until ref_object . base_object? ( instance_methods - ref_object . instance_methods ) . include? ( method_name ) end
Checks if a given method can act as resolver
Checks if a given method can act as resolver
method_name