gameserver
A game server for multiplayer games (by MiguelRipoll23)
graphql-shield
🛡 A GraphQL tool to ease the creation of permission layer. (by maticzav)
| gameserver | graphql-shield | |
|---|---|---|
| 2 | 7 | |
| 12 | 3,575 | |
| - | 0.0% | |
| 9.5 | 0.0 | |
| 7 days ago | 7 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.
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.
gameserver
Posts with mentions or reviews of gameserver.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-06-06.
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 2024-12-18.
-
Authorization (authz) and GraphQL
Middleware Middleware can decouple your authorization logic from your schema as with GraphQL Shield. Middleware authorization works best for rules that apply to your whole schema at once i.e. every query and resolver, since middleware doesn’t have more specific information for more complicated domain rules. Good middleware rules could be used to filter out invalid tokens, reject non-safelisted queries, or to calculate query complexity scores and reject overly expensive queries (e.g. see compgen).
-
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?
When comparing gameserver and graphql-shield you can also consider the following projects:
peerjs-server - Server for PeerJS
graphql-js - A reference implementation of GraphQL for JavaScript
hilde - Hilde is an open source match tracking tool for games like foosball, air hockey, chess and similar
apollo-cache-persist - 🎏 Simple persistence for all Apollo Cache implementations
hood-ball - Accelerate and smash your way to victory in a car-based multiplayer soccer battle
graphql-spec - GraphQL is a query language and execution engine tied to any backend service.