Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cerbos/query-plan-adapters
Repo of adapters converting a Cerbos Query Plan to a data fetching layer
https://github.com/cerbos/query-plan-adapters
Last synced: about 11 hours ago
JSON representation
Repo of adapters converting a Cerbos Query Plan to a data fetching layer
- Host: GitHub
- URL: https://github.com/cerbos/query-plan-adapters
- Owner: cerbos
- License: apache-2.0
- Created: 2022-02-03T11:57:20.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-12-19T16:01:33.000Z (15 days ago)
- Last Synced: 2024-12-29T23:07:40.838Z (5 days ago)
- Language: TypeScript
- Size: 970 KB
- Stars: 16
- Watchers: 7
- Forks: 10
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Cerbos Query Plan Adapters
These adapters take a [Cerbos](https://cerbos.dev) Query Plan ([PlanResources API](https://docs.cerbos.dev/cerbos/latest/api/index.html#resources-query-plan)) response and converts it into a filter which can be applied to your data fetching layer to return just the instances of a resource that a user would have access to.
Current supported adapters:
- [Prisma](https://github.com/cerbos/query-plan-adapters/tree/main/prisma)
- [SQLAlchemy](https://github.com/cerbos/query-plan-adapters/tree/main/sqlalchemy)
- [Mongoose](https://github.com/cerbos/query-plan-adapters/tree/main/mongoose)