v8.0.0-rc.17-dev.11: The binder resolves entity names in type-constructor arguments (#30659)
- Prisma 近 90 天出现 233 次
- Prisma 近 90 天第 233 次发版
- 上一次:同一天稍早 · 8.1.0-dev.8
发生了什么
The PSL binder records a resolution for the entity name inside a type-constructor argument, such as OrderStatus in status pg.enum(OrderStatus) . Go-to-definition, hover, find references and rename now work on such a name. Renaming a native_enum block renames its pg.enum(...) usages, which #30633 left unchanged. Changes Binder ( packages/1-framework/2-authoring/psl-parser/src/binder.ts ): for a type whose name resolv…
摘要按规则整理自下方来源原文