← Back to events
ActiveTechRelease8.0.0-rc.18

v8.0.0-rc.18-dev.16: Test that PSL merges several types blocks (#30753)

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

Why it's spreading

Sources