Skip to content

[finding] driver-sql / driver-mongodb 的 docblock 断言「reference_to is a REJECTED ALIAS, not a normalised one」在 #13847 后半陈旧——存量/migrate 路径现已归一化,编写面才仍是纯拒绝 #13851

Description

@os-warren

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions