v8.0.0-rc.18-dev.16: Test that PSL merges several types blocks (#30753)
- Prisma: 283 events in the last 90 days
- Prisma: 283th Release in the last 90 days
- Previous: earlier the same day · v8.0.0-rc.18-dev.15: Remove 945 redundant and declaration-restating unit tests (#30731)
What happened
Linked issue n/a — small change At a glance types { Email = String } model User { id Int @id email Email slug Slug } types { Slug = VarChar (191) } prisma contract emit accepts this schema: the named types from both blocks are in the contract. If a name is bound in two types blocks, the second one is reported as PSL_DUPLICATE_DECLARATION and the first binding is kept. Summary A schema has been able to contain severa…
Summary assembled by rule from the sources below