{"repo":"graphql/graphql-relay-js","free":true,"listed":false,"github":"https://github.com/graphql/graphql-relay-js","clone":"git clone https://github.com/graphql/graphql-relay-js.git","description":"A library to help construct a graphql-js server supporting react-relay.","language":"TypeScript","stars":1541,"topics":["graphql","relay"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Relay Library for GraphQL.js This is a library to allow the easy creation of Relay-compliant servers using the GraphQL.js reference implementation of a GraphQL server. Getting Started A basic understanding of GraphQL and of the GraphQL.js implementation is needed to provide context for this library. An overview of GraphQL in general is available in the README for the Specification for GraphQL. 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. Using Relay Library for GraphQL.js Install Relay Library for GraphQL.js When building a schema for GraphQL.js, the provided library functions can be used to simplify the creation of Relay patterns. Connections Helper functions are provided for both building the GraphQL types for connections and for implementing the resolve method for fields returning those types. - connectionArgs returns the arguments that fields should provide when they return a connection type that supports bidirectional pagination. - forwardConnectionArgs returns the arguments that fields should provide when they return a connection type that only suppo","default_branch":null,"files":null,"tree":[],"storefront":"/r/graphql","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/graphql/graphql-relay-js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}