lib/graphql/schema.rb
# Returns a list of Arguments and Fields referencing a certain type
# @param type_name [String]
# @return [Hash]
Returns a list of Arguments and Fields referencing a certain type
Returns a list of Arguments and Fields referencing a certain type
def references_to(type_name = nil)
      rebuild_artifacts unless defined?(@type_reference_map)
      if type_name
        @type_reference_map.fetch(type_name, [])
      else
        @type_reference_map
      end
    end
def references_to ( type_name = nil ) rebuild_artifacts unless defined? ( @type_reference_map ) if type_name @type_reference_map . fetch ( type_name , [ ] ) else @type_reference_map end end
Returns a list of Arguments and Fields referencing a certain type
Returns a list of Arguments and Fields referencing a certain type
None
Hash
type_name
None