-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Open
Labels
Description
Problem
Putting this together because it's been mentioned a bunch of places but without the root issue being logged, see prisma/extension-read-replicas#12 and the Accelerate limitations page.
Without using hacks like the internal dataPath parameter, Client Extensions cannot support remap usage of the fluent API.
Suggested solution
Create an API that provides the full fluent query. I'd propose injecting dataPath in with Prisma.getExtensionContext.
Alternatives
Another option would be to fully deprecate the fluent API, or remap the query off of the fluent API for client extensions.
Additional context
Reactions are currently unavailable