graphql-modules VS graphql-shield

Compare graphql-modules vs graphql-shield and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
graphql-modules graphql-shield
5 6
1,286 3,507
- -
8.6 3.1
about 8 hours ago 9 days ago
TypeScript TypeScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

graphql-modules

Posts with mentions or reviews of graphql-modules. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-09.
  • HaloAPI.dev - Open-source GraphQL API for Infinite
    6 projects | /r/halo | 9 Mar 2022
    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.
  • The Guild is taking over maintenance of merge-graphql-schemas
    8 projects | dev.to | 29 Jul 2021
    merge-graphql-schemas will be added to the existing Schema management tools already created by The Guild (GraphQL-Toolkit, GraphQL Modules, GraphQL Inspector and graphql-code-generator)
  • Introducing: GraphQL Inspector
    3 projects | dev.to | 29 Jul 2021
    In order to use GraphQL in our Angular applications, we created Angular Apollo. To automate and increase type-safety, we open-sourced GraphQL Code Generator. Most recent thing was GraphQL Modules that helped us to separate a server into smaller, reusable, feature based parts. All of that was developed based on the experience and used with huge success by our clients.

graphql-shield

Posts with mentions or reviews of graphql-shield. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-26.
  • How can GraphQL Shield play nicely with Type Based Error Handling?
    2 projects | /r/AskProgramming | 26 Feb 2023
    - https://github.com/dimatill/graphql-shield/issues/988 - https://github.com/dimatill/graphql-shield/issues/1485
  • HaloAPI.dev - Open-source GraphQL API for Infinite
    6 projects | /r/halo | 9 Mar 2022
    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
    3 projects | dev.to | 20 Dec 2021
    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.
  • GraphQL - Diving Deep
    47 projects | dev.to | 29 Jul 2021
    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 ?
    2 projects | /r/graphql | 2 Apr 2021
    Try graphql-shield

What are some alternatives?

When comparing graphql-modules and graphql-shield you can also consider the following projects:

TypeGraphQL - Create GraphQL schema and resolvers with TypeScript, using classes and decorators!

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.

Neo4j - Graphs for Everyone

graphql-tools - :wrench: Build, mock, and stitch a GraphQL schema using the schema language [Moved to: https://github.com/ardatan/graphql-tools]

express-graphql - Create a GraphQL HTTP server with Express.

graphql-spec - GraphQL is a query language and execution engine tied to any backend service.

graphql-js - A reference implementation of GraphQL for JavaScript

mercurius-typescript - TypeScript usage examples and "mercurius-codegen" for Mercurius

graphql-code-generator - A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.

Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.

dgraph - The high-performance database for modern applications