graphql-public-schema-filter VS envelop

Compare graphql-public-schema-filter vs envelop and see what are their differences.

graphql-public-schema-filter

Filter your GraphQL graph into a subgraph. Code-first & SDL-first! (by n1ru4l)

envelop

Envelop is a lightweight library allowing developers to easily develop, share, collaborate and extend their GraphQL execution layer. Envelop is the missing GraphQL plugin system. (by n1ru4l)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
graphql-public-schema-filter envelop
8 7
52 762
- -
4.2 9.4
5 days ago 3 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-public-schema-filter

Posts with mentions or reviews of graphql-public-schema-filter. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-31.
  • Public and Private GQL APIs pointing to same Unified graph?
    1 project | /r/graphql | 18 Apr 2023
  • Keeping parts of your GraphQL schema hidden from Introspection
    1 project | /r/graphql | 15 Jun 2022
    We actually built the following package, @n1ru4l/graphql-public-schema-filter which solves the problem stated within the blog post in a similar way (by filtering an existing schema into a subset of the original schema).
  • Authorization by entities
    2 projects | /r/graphql | 31 Jan 2022
    I am using this technique in one of my projects where we have a public API that is a subset of the internal API. I open sourced the library for doing that: https://github.com/n1ru4l/graphql-public-schema-filter
  • Ideas for implementing admin authentication for only a few mutations?
    1 project | /r/graphql | 28 Dec 2021
    I built something similar that is "metaframework"-agnostic https://github.com/n1ru4l/graphql-public-schema-filter. Using this method has its benefits and drawbacks. If you simply public and internal part of the schema it can work pretty well. We use it for hiding the internal API from the public customer facing integration API. It is definetly easier than makntaining two seperate GraphQL schemas. However, if you want full inteospection capabilities doing this can be confusing as the introspection query operation result is different based on the authorization header which moght be weird if you are using tools such as code generators, as you now have to do it for two different schemas.
  • When to use multiple endpoints in GraphQL
    1 project | /r/graphql | 4 Dec 2021
    While building an GraphQL API that powers web applications we introduced a public customer-facing API. Instead of building two separate endpoints we chose to serve a different schema based on the authorization header. Furthermore, requests that do not provide an customer kntegration authorization header are only allowed to execute persisted operations. That way we somehow avoided having multiple HTTP routr endpoints. Instead of building two schemas from scratch and because the public schema is basically a filtered down version of the full graph we decided to filter down the graph using directive annotations on the schema SDL. I open sourced rhe JavaScript library for doing that (which is based upon graphql-tools). The dynamic schema selection based on the authorization header is done with Envelop
  • Any GraphQL issues the community would like to be solved?
    2 projects | /r/graphql | 18 Nov 2021
    graphql-public-schema-filter: This library allows you to filter down you big graphql schema into a smaller subgraph. I have been using this for filtering our big production schema down into a public api schema that our customers use. So they don't have access to all the internal types, that are only for our internal web applications. The great thing about this is that we can just serve the correct schema based on the authorization headers as API users and Web Application tokens differ. If you have one big monolithic GraphQL server this is a great way of doing this and we are quite happy with it.
  • Introducing Envelop - The GraphQL Plugin System
    12 projects | dev.to | 29 Jul 2021
    Public schema filter - for creating a simple GraphQL schema that can be used for public APIs based on existing GraphQL schema.
  • I built a small library for filtering a GraphQL schema graph into a subgraph
    1 project | /r/graphql | 28 Jul 2021

envelop

Posts with mentions or reviews of envelop. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-29.
  • Announcing GraphQL Yoga 2.0!
    10 projects | dev.to | 29 Mar 2022
    The Guild took over the development of GraphQL Yoga from Prisma in early 2021, and with the growing community of tools in the GraphQL space, most recently Envelop, we were able to rewrite GraphQL Yoga 2.0 from scratch with easy setup, performance, and developer experience at the core.
  • GraphQL Authentication with Envelop and Auth0
    1 project | dev.to | 20 Dec 2021
    Ideally, you already have your basic envelop setup with your http framework of choice. This guide we will be based on the graphql-helix fastify example, but the code can be easily transferred to any other example as listed on our Integrations and Examples documentation. In case you are hitting any roadblocks feel free to reach out to us via the chat box on this page! The full code of the end-result is also available in our examples graphql-helix-auth0 fastify example.
  • Introducing Envelop - The GraphQL Plugin System
    12 projects | dev.to | 29 Jul 2021
    Make “hard” GraphQL capabilities easy by installing powerful plugins (Caching, Tracing with Prometheus/DataDog/NewRelic/Sentry/OpenTelemetry/ApolloTracing, Loggers, GraphQL-Jit, Persisted Operations, Security with rate-limit/depth-limit/Auth0 and many others from the Plugins Hub)
  • Introducing Envelop: The GraphQL Plugin System
    3 projects | /r/graphql | 22 Jul 2021
    I started reimplementing the logic from GitHub over here https://github.com/dotansimha/envelop/pull/474
  • Prevent clients from accessing certain resolvers on Apollo server with Prisma
    1 project | /r/graphql | 30 Jun 2021
    We just today published a new plugin for envelop (GraphQL execution flow customization layer) that allow rejecting GraphQL operations before being executed based on the selection set of the operation. It is pretty flexible and you can limit the access dynamically based on the GraphQL context. E.g. this allows loading the permission information from the database, the user record, or any other remote service. https://github.com/dotansimha/envelop/tree/main/packages/plugins/operation-field-permissions
  • What's the best way to input union types?
    1 project | /r/graphql | 16 May 2021
    We are already having a spec compatible implementation available that you can start using with envelop, without havign to wait for official graphql-js support to land: https://github.com/dotansimha/envelop/pull/179

What are some alternatives?

When comparing graphql-public-schema-filter and envelop you can also consider the following projects:

nestjs-graphql - GraphQL (TypeScript) module for Nest framework (node.js) 🍷

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-jit - GraphQL execution using a JIT compiler

graphql-helix - A highly evolved GraphQL HTTP Server 🧬

galactagraph-boilerplate - 🚀 The best&fastest way to create and manage your World-Dominating Federated GraphQL API

redwood - The App Framework for Startups

graphql-hive - GraphQL Hive is a schema registry and observability