Module: GraphQL::Types::Relay::HasNodesField::ExecutionMethods
- Defined in:
- lib/graphql/types/relay/has_nodes_field.rb
Instance Method Summary collapse
-
#get_relay_nodes(context, ids:) ⇒ Object
: (GraphQL::Query::Context context, ids: Array) -> untyped.
Instance Method Details
#get_relay_nodes(context, ids:) ⇒ Object
: (GraphQL::Query::Context context, ids: Array) -> untyped
20 21 22 |
# File 'lib/graphql/types/relay/has_nodes_field.rb', line 20 def get_relay_nodes(context, ids:) ids.map { |id| context.schema.object_from_id(id, context) } end |