Method: GraphQL::Schema#root_types

Defined in:
lib/graphql/schema.rb

#root_typesArray<GraphQL::BaseType>

Returns The root types of this schema.

Returns:



226
227
228
229
230
231
# File 'lib/graphql/schema.rb', line 226

def root_types
  @root_types ||= begin
    rebuild_artifacts
    @root_types
  end
end