class GraphQL::Introspection::EntryPoints

def __schema

def __schema
  # Apply wrapping manually since this field isn't wrapped by instrumentation
  schema = context.schema
  schema_type = schema.introspection_system.types["__Schema"]
  schema_type.wrap(schema, context)
end

def __type(name:)

def __type(name:)
  if context.types.reachable_type?(name) && (type = context.types.type(name))
    type
  elsif (type = context.schema.extra_types.find { |t| t.graphql_name == name })
    type
  else
    nil
  end
end