graphql-compose-relay

JSON →
library 5.0.3 ·javascript
verified Jun 7, 2026
api

Plugin for graphql-compose that wraps GraphQL types with Relay-specific logic, such as the Node interface and global ID handling. Current stable version is 5.0.3, released on 2019-02-14. It provides composeWithRelay() which automatically adds Node interface, globalId field, clientMutationId to mutations, and a node field on the root query for resolving by global ID. Requires graphql-compose ^7.0.4 and graphql. Release cadence is low; last release was in 2019. Compared to manual Relay schema construction, it automatically handles globally unique IDs and Node resolving, reducing boilerplate.