-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Issue: Shield ACL rules not compatible with count query and nested operations (breaking proposal) #125
Labels
Milestone
Comments
This was referenced Mar 15, 2023
maoosi
changed the title
Issue: Shield ACL rules not compatible with count query and nested operations
Issue: Shield ACL rules not compatible with count query and nested operations (breaking proposal)
Mar 15, 2023
Thanks for considering these issues :-) |
This looks great thank you @maoosi |
maoosi
added a commit
that referenced
this issue
Mar 27, 2023
Implementing the solution was a lot more changes and work than initially anticipated, but it is now ready and will be released as part of |
@maoosi Great work here, when will this be released? |
@cjjenkinson thanks! A new version will be released this week. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problems
Base path not included in
QueryParams.paths
Prisma reserved keywords like
connect
,connectOrCreate
missing fromQueryParams.paths
Proposed solution (breaking)
Update
QueryParams.paths
to:[action][Model]
(countPosts
)connect
,connectOrCreate
, ...countPosts{,/**}
createPost/**/connect{,/**}
Example:
Before:
After:
Breaking changes:
Breaking for people using
QueryParams.paths
for custom business logic (most likely inside Hooks).The text was updated successfully, but these errors were encountered: