Replies: 2 comments
-
This discussion is a bit stale now:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry for adding onto a super stale thread but something I came across recently is Zenstack (an auth layer that extends Prisma client). If I find the time, I wanna spend a couple hours seeing if it could potentially be compatible with Pothos as is, but otherwise |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
WithInput plugin
Mostly implemented, but not documented or tests.
The API is slightly sub-optimal due to some typescript limitations, still considering if its worth it in its current state.
PR: #74
Apollo Federation plugin
Some prototyping and initial investigation has been done, typing things correctly is proving to be very challenging, and some limitations in typescript are making the API kinda awkward to work with. Still something I want to land, just need to spend more time figuring out the details
Prisma plugin
Some work has been started on an initial API https://gist.github.com/hayes/c9cdcbcd9b38991eaafdb4c2f237a148.
I spiked out the types for this API (with some changes need to make it actually work). There are a couple of things to figure out: Prisma and dataloader integration need some API design, and I need to figure out how to get this to work with Interfaces and Unions. There also are some design issues with how models without a unique query can be loaded.
This will probably be the next plugin that I actually release
CASL or simpler auth
authScopes is great for certain auth patterns, but there might be a need for something that integrates with something like CASL that is slightly easier to use.
Other high level ideas:
Beta Was this translation helpful? Give feedback.
All reactions