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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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