- Defined in:
This module contains some types and fields that could support Relay conventions in GraphQL.
You can use these classes out of the box if you want, but if you want to use your own GraphQL extensions along with the features in this code, you could also open up the source files and copy the relevant methods and configuration into your own classes.
For example, the provided object types extend Types::Relay::BaseObject, but you might want to:
- Migrate the extensions from Types::Relay::BaseObject into your app’s base object
- Copy BaseConnection, BaseEdge, etc into your app, and change them to extend your base object.
BaseField’s extensions could be migrated to your app
Node could be implemented to mix in your base interface module.
Defined Under Namespace
Modules: ConnectionBehaviors, DefaultRelay, EdgeBehaviors, HasNodeField, HasNodesField, Node, NodeBehaviors, PageInfoBehaviors Classes: BaseConnection, BaseEdge, PageInfo