Implement scalar list defaults proposal in query engine and client #13321
Labels
team/client
Issue for team Client.
tech/engines/query engine
Issue in the Query Engine
tech/typescript
Issue for tech TypeScript.
topic: prisma4
Milestone
https://www.notion.so/prismaio/Proposal-Scalar-List-Defaults-94d0891a3355475999f10b270e2a311a
TL;DR we will allow
@default(...)
attributes on scalar list fields in PSL. The behaviour should match that of regular scalar defaults.Models like the following are currently not valid, but they will become valid on connectors that support scalar lists (mongodb, cockroachdb, postgres):
On first approximation, the foreseeable client work to make this work is:
The text was updated successfully, but these errors were encountered: