← 返回事件
持续讨论科技发版8.0.0-rc.17

v8.0.0-rc.17-dev.32: A polymorphic base can have variants in other namespaces (#30696)

发生了什么

Linked issue n/a — no Linear ticket; third and last PR for cross-namespace inheritance (after #30577 and #30646 ). At a glance namespace a { model Task { id Int @id title String type String projectId Int ? @map ( " project_id " ) @@discriminator ( type ) @@map ( " tasks " ) } } namespace b { model Chore { effort Int ownerId Int ? @map ( " owner_id " ) @@base ( a . Task , " chore " ) @@map ( " tasks " ) } model Epic…

摘要按规则整理自下方来源原文

为什么在扩散

来源