Args are out of sync with the action type for count when creating prisma middeware #15644
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: middleware
Milestone
The arguments in a prisma middleware function are out of sync with the type of the action. If you try to reconstruct the prisma action from the args and action that are in the
MiddlewareParams
it does not work forcount
.The only workaround is to set override this back to aggregate
The text was updated successfully, but these errors were encountered: