module GraphQL::Types::Relay::HasNodesField::ExecutionMethods
Public Instance Methods
(GraphQL::Query::Context context, ids: Array[String]) → untyped
Source
# 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