A library to help construct a graphql-js server supporting react-relay. This is a library to allow the easy creation of Relay-compliant servers using the GraphQL.js reference implementation of a GraphQL server. A basic understanding of GraphQL and of the GraphQL.js implementation is needed to provide context for this library. This library is designed to work with the GraphQL.js reference implementation of a GraphQL server. An overview of the functionality that a Relay-compliant GraphQL server should provide is in the GraphQL Relay Specification on the Relay website. That overview describes a simple set of examples that exist as tests in this repository. A good way to get started with this repository is to walk through that documentation and the corresponding tests in this library together. When building a schema for GraphQL.js, the provided library functions can be used to simplify the creation of Relay patterns.

Features

  • Helper functions are provided for both building the GraphQL types for connections and for implementing the resolve method for fields returning those types
  • Object Identification
  • A helper function is provided for building mutations with single inputs and client mutation IDs.
  • Helper functions are provided for both building the GraphQL types for nodes and for implementing global IDs around local IDs.
  • This library is designed to work with the GraphQL.js reference implementation of a GraphQL server
  • When building a schema for GraphQL.js, the provided library functions can be used to simplify the creation of Relay patterns

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Relay Library for GraphQL.js

Relay Library for GraphQL.js Web Site

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Relay Library for GraphQL.js!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Libraries

Registered

2023-03-02