Found during #13700(PR #13847)收口移交,pre-existing 文档漂移的镜像面;filed unassigned 供分诊。无严重度断言。
The shape
两处驱动 docblock 逐字断言 reference_to 是「REJECTED ALIAS, not a normalised one」:
PR #13847 落地 field-reference-to-alias conversion(retiredFromLoadPath)后,这句话只对编写面为真:FieldSchema 仍命名拒绝,但存量 sys_metadata 再水化与 os migrate meta 现在归一化该键。两处 docblock 需要补半句(编写面拒绝 / 存量归一化的分割),否则下一个读者会从驱动注释推出「存量 reference_to 永远原样」的错误结论。
修复方向
纯注释对齐,S 机械;跨包(drivers),#13847 尊重文件面申报未顺手改。措辞可引 conversion registry 里 fieldReferenceToAlias docblock 的分割表述。
Refs
Found during #13700(PR #13847)收口移交,pre-existing 文档漂移的镜像面;filed unassigned 供分诊。无严重度断言。
The shape
两处驱动 docblock 逐字断言
reference_to是「REJECTED ALIAS, not a normalised one」:packages/drivers/driver-sql/src/sql-driver.ts([finding] docs vs driver disagree on whether lookup columns get a real FOREIGN KEY — and the driver branch keys onreference_to, notreference#11567 现场)packages/drivers/driver-mongodb/src/mongodb-schema.ts:114(driver-mongodb indexes lookup joins offreference_to— a key the spec REFUSES — so no authored lookup field has ever been indexed on MongoDB #13222 现场)PR #13847 落地
field-reference-to-aliasconversion(retiredFromLoadPath)后,这句话只对编写面为真:FieldSchema 仍命名拒绝,但存量sys_metadata再水化与os migrate meta现在归一化该键。两处 docblock 需要补半句(编写面拒绝 / 存量归一化的分割),否则下一个读者会从驱动注释推出「存量 reference_to 永远原样」的错误结论。修复方向
纯注释对齐,S 机械;跨包(drivers),#13847 尊重文件面申报未顺手改。措辞可引 conversion registry 里
fieldReferenceToAliasdocblock 的分割表述。Refs
reference_to, notreference#11567 · driver-mongodb indexes lookup joins offreference_to— a key the spec REFUSES — so no authored lookup field has ever been indexed on MongoDB #13222 — 两句断言各自的引入现场