Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guide on implementing new data filtering adapters #1551

Open
enheit opened this issue Apr 8, 2022 · 7 comments
Open

Guide on implementing new data filtering adapters #1551

enheit opened this issue Apr 8, 2022 · 7 comments
Labels
documentation Improvements or additions to documentation

Comments

@enheit
Copy link

enheit commented Apr 8, 2022

Hey, guys!

I try to integrate Oso into my app which uses prisma ORM to communicate with database. After reading documentation I noticed the following sentence:

The mapping from Polar to a query is defined by an Adapter. If an adapter exists for your ORM or database you can use it, otherwise you may have to implement your own.

I'm currently trying to implement this adapter myself, but with limited information/examples, I don't think I'm doing it right.

So, I would like to request a guide that shows how to implement custom adapters by using Prisma or an adapter itself (implemented by Oso dev team).

Thank you, Roman

@gj
Copy link
Member

gj commented Apr 8, 2022

Hey @enheit, a guide on implementing custom adapters is a great idea. You may've already found it, but your best bet for the time being would be to use the TypeORM adapter as an example.

@gj gj changed the title Filter data adapter for Prisma Guide on implementing new data filtering adapters Apr 8, 2022
@gj gj added the documentation Improvements or additions to documentation label Apr 8, 2022
@Jacob-DeCrane
Copy link

Has a formal guide been created for this yet?

@jbwc
Copy link

jbwc commented Apr 5, 2023

+1 for Prisma guide

@ozankabak
Copy link

We are interested in this too.

@sburton84
Copy link

A guide would be good, but just including a ready-made Prisma adapter alongside the TypeORM one would be even better.

@NexZhu
Copy link

NexZhu commented Jul 14, 2023

An EdgeDB adapter will be appreciated

@kachar
Copy link

kachar commented Aug 2, 2024

+1 for Prisma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

8 participants