Module: GraphQL::Execution::Flatten Private

Defined in:
lib/graphql/execution/flatten.rb

Overview

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

Starting from a root context, create a hash out of the context tree.

Class Method Summary collapse

Class Method Details

.call(ctx) ⇒ Object

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.


8
9
10
# File 'lib/graphql/execution/flatten.rb', line 8

def self.call(ctx)
  flatten(ctx)
end