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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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