Helpers for using graphql with Relay.
-
Connections
- arguments (Object definition
connectionhelper) - connection type for type (
ConnectionType#connection_class) - Connection classes
- ArrayConnection
- RelationConnection
- arguments (Object definition
-
Object Identification
- Node-related types
- NodeInterface (returned from
Node.create) - NodeField (returned from
Node.create)
- NodeInterface (returned from
- toGlobalId, fromGlobalId (
Node.from_global_id,Node.to_global_id) - globalIdField (
field :id, field: GlobalIdField.new("TypeName")) - pluralIdentifyingRootField
- Node-related types
-
Mutations (by
Mutation.define)- Accept inputs, outputs and resolution
- Return a field
graphqlRuby gemgraphql-relay-jsJavaScript helpers for GraphQL and Relay