Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)