{"repo":"nicolasdao/graphql-s2s","free":true,"listed":false,"github":"https://github.com/nicolasdao/graphql-s2s","clone":"git clone https://github.com/nicolasdao/graphql-s2s.git","description":"Add GraphQL Schema support for type inheritance, generic typing, metadata decoration. Transpile the enriched GraphQL string schema into the standard string schema understood by graphql.js and the Apollo server client.","language":"JavaScript","stars":185,"topics":["graphql","graphql-schema","inheritance-styles","generic-types","parser","metadata"],"license":null,"category":"api-integrations-sdks","readme_excerpt":"This project is still maintained but has been superseded by graphql-schemax. graphql-schemax takes the approach of compiling standard JSON object into a GraphQL Schema string. GraghQL Schema-2-Schema Transpiler &middot; Table Of Contents What It Does Install Getting Started - Basic - Type Inheritance - Generic Types - Metadata Decoration - Deconstructing - Transforming - Rebuilding Queries How To - How to use a custom name on generic types? Examples Contribute About Neap License What It Does GraphQL S2S enriches the standard GraphQL Schema string used by both graphql.js and the Apollo Server. The enriched schema supports: Type Inheritance Generic Types Metadata Decoration Deconstructing - Transforming - Rebuilding Queries Install node browser Using the awesome unpkg.com, all versions are supported at https ://unpkg .com/graphql-s2s@ :VERSION /lib/graphqls2s.min.js. The API will be accessible through the graphqls2s object. It is also possible to embed it after installing the graphql-s2s npm package: Getting Started Basic Type Inheritance Single Inheritance Multiple Inheritance More details in the code below. Generic Types More details in the code below. Metadata Decoration The enriched schema provides a richer and more compact notation. The transpiler converts the enriched schema into the standard expected by graphql.js (using the buildSchema method) as well as the Apollo Server. For more details on how to extract those extra information from the string schema, use the method ","default_branch":null,"files":null,"tree":[],"storefront":"/r/nicolasdao","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nicolasdao/graphql-s2s/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."}