Method: GraphQL::Schema::Warden#reachable_types

Defined in:
lib/graphql/schema/warden.rb

#reachable_typesArray<GraphQL::BaseType>

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns Visible and reachable types in the schema.

Returns:

  • (Array<GraphQL::BaseType>)

    Visible and reachable types in the schema



268
269
270
# File 'lib/graphql/schema/warden.rb', line 268

def reachable_types
  @reachable_types ||= reachable_type_set.to_a
end