v8.0.0-rc.18-dev.16: Test that PSL merges several types blocks (#30753)
- Prisma 近 90 天出现 283 次
- Prisma 近 90 天第 283 次发版
- 上一次:同一天稍早 · v8.0.0-rc.18-dev.15: Remove 945 redundant and declaration-restating unit tests (#30731)
发生了什么
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…
摘要按规则整理自下方来源原文