Helpers for using graphql
with Relay.
-
Connections
- arguments (Object definition
connection
helper) - 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
graphql
Ruby gemgraphql-relay-js
JavaScript helpers for GraphQL and Relay