jsonProtocol: in
argument of filter types does not accept scalars
#18549
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/client
Issue for team Client.
tech/engines
Issue for tech Engines.
topic: in
topic: jsonProtocol
Milestone
Bug description
When GraphQL protocol is used, we accept scalar fields for
in
arguments because this shortcut is implemented on the client. WithjsonProtocol
, client-side shortcut no longer exists and engine rejects this code.How to reproduce
jsonProtocol
preview feature from the schema, re-generate code and re-run the schema. It will finish without an error.Expected behavior
Identical behavior regardless of the protocol
Prisma information
Protocol request:
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: