schema-stitching-handbook
graphql-shield
Our great sponsors
schema-stitching-handbook | graphql-shield | |
---|---|---|
4 | 6 | |
346 | 3,512 | |
- | - | |
0.0 | 3.1 | |
about 1 year ago | 9 days ago | |
JavaScript | TypeScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
schema-stitching-handbook
-
GraphQL AuthZ - GraphQL Authorization layer
“Shifting this configuration out of the gateway makes subschemas autonomous, and allows them to push their own configuration up to the gateway—enabling more sophisticated schema releases.” — schema stitching handbook
-
Moving Apollo Federation 2 to the Elastic License v2
Also see @graphql-tools/schema-stitching [0] and its handbook [1] with examples. Note the stitching gateway approach is slightly different than Apollo Federation. We are (lightly) using schema-stitching and happy with it so far – but haven't pushed it much yet.
[0] https://www.graphql-tools.com/docs/schema-stitching/stitch-c...
[1] https://github.com/gmac/schema-stitching-handbook
-
GraphQL Tools V8 - Stitch Federation Services
Federation Services - Stitching Handbook
-
A New Year for GraphQL Schema Stitching
Whether you’re planning a new API project, looking to migrate an existing one, or curious of alternatives for your current distributed GraphQL architecture, 2021 is the year to give Schema Stitching a fresh look. Read the new documentation, review the handbook, watch the video series, or join us for a conversation to learn about the exciting progress that was made last year.
graphql-shield
-
How can GraphQL Shield play nicely with Type Based Error Handling?
- https://github.com/dimatill/graphql-shield/issues/988 - https://github.com/dimatill/graphql-shield/issues/1485
-
HaloAPI.dev - Open-source GraphQL API for Infinite
Second a NextJS app is deployed to Vercel containing a GraphQL server function. This is an Apollo server that consumes the halo-graphql package using GraphQL Modules. The server also implements caching and rate limiting using GraphQL Shield.
-
GraphQL AuthZ - GraphQL Authorization layer
GraphQL Shield is a great tool for creating authorization layers that has vast adoption from the community. In fact, GraphQL AuthZ is highly inspired by GraphQL Shield! However, GraphQL Shield uses a different approach compared to GraphQL AuthZ for applying authorization rules.
-
Manage complex permissions/access rights
Haven't used it yet but GraphQL Shield looks pretty good. https://github.com/maticzav/graphql-shield
-
GraphQL - Diving Deep
You can also use libraries like GraphQL Shield which offers powerful middlewares to do this. But remember that authorization does come with attached cost since you are running a specific logic in/before your resolvers for all the fields which you want to authorize.
-
How to implement security for fields ?
Try graphql-shield
What are some alternatives?
graphql-go-tools - GraphQL Router / API Gateway framework written in Golang, focussing on correctness, extensibility, and high-performance. Supports Federation v1 & v2, Subscriptions & more.
TypeGraphQL - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!
mercurius - Implement GraphQL servers and gateways with Fastify
apollo-server - 🌍  Spec-compliant and production ready JavaScript GraphQL server that lets you develop in a schema-first way. Built for Express, Connect, Hapi, Koa, and more.
graphql-multipart-request-spec - A spec for GraphQL multipart form requests (file uploads).
Neo4j - Graphs for Everyone
schema-stitching-demos - Guided examples exploring GraphQL Tools v6+ Schema Stitching [Moved to: https://github.com/gmac/schema-stitching-handbook]
express-graphql - Create a GraphQL HTTP server with Express.
graphql-tools - :wrench: Utility library for GraphQL to build, stitch and mock GraphQL schemas in the SDL-first approach
graphql-spec - GraphQL is a query language and execution engine tied to any backend service.
easygraphql-tester - Test GraphQL queries, mutations and schemas on an easy way! 🚀
graphql-js - A reference implementation of GraphQL for JavaScript