Fluent API doesn't work as expected with client extensions
Hello, I am building a GraphQL API using NestJs and Prisma ORM. The Prisma client extension is used to manage the RLS policies as follows:
For all
However, I have observed that the Fluent API does not work as expected when using the client extension. When I comment out the client extension, the Fluent API behaves correctly.
I'm using
I hope someone can help me to find a solution.
Best regards.
For all
ResolveFields, I am leveraging the Fluent API to address the n+1 problem as described here.However, I have observed that the Fluent API does not work as expected when using the client extension. When I comment out the client extension, the Fluent API behaves correctly.
I'm using
@prisma/client: ^5.16.1 and prisma: ^5.16.1. If you need further information or code snippets, let me know.I hope someone can help me to find a solution.
Best regards.
