Skip to content

Nested-relation filter follow-ups from PR #35423: cross-realm plain object, null-prototype FROM line, stale related-id comments #35533

Closed as not planned

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CajiB6BSQKWowy6YLB

Leftover nits from seat 5's delta contract review 7012075575 on PR #35423 (#34990), collected on one card on the seat's word. Parent: #34990.

Items

  1. Cross-realm plain object. convertFiltersToAST's isOperatorMap lowers a plain object from another realm (prototype whose own prototype is null). ValueDataSource's nestedRelationComparandKey does not take it as plain, so for that population the lowered node is not refused (= matches nothing silently, != every row). The fix belongs at the converter: align its test with the spec's isFilterNode / engine isNoOperatorObject. The matcher docblock's "the shape is the one convertFiltersToAST lowers" is one arm short.
  2. BREAKING FROM line for a null-prototype object. The changeset's FROM says the ordering operators compared against the text [object Object]. That holds for Object.prototype only. A null-prototype object has no toString, so the comparison threw.
  3. "Refuses anything else" survives in the isNestedRelationCondition docblock in ui/packages/core/src/utils/filter-converter.ts. It should name the exact refused population, as the changeset now does.
  4. The = sentence ("matched no row before") leaves out the identity match on a row holding the caller's own object.
  5. Stale related-id comments in DatasetWidget.tsx, DrillDownDrawer.tsx and DatasetReportRenderer.tsx still describe the related-id read the drill no longer does.

Done when

Item 1 is fixed with a pin (cross-realm object refused or lowered consistently on both faces). Items 2–5 are corrected in prose (a changeset note for 2 and 4 rides the next release).

Grade

p3 · area:data · domain:ui. No producer in the tree hands a value source a cross-realm object; everything else is prose.


Generated by Claude Code

Activity

  1. added
    pm:queue
    domain:ui
    on Nov 19, 2026
  2. objectstack-fleet commented on Nov 19, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in domain:ui · pm:queue; rationale: area:data · Bug · Impeded (cross-realm and null-prototype objects take different paths in the nested-relation lowering; stale comments) · rare, developers → p3 as set; kept open for the realm mismatch.

  3. objectstack-fleet commented on Nov 20, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Ruled: fold · maintainer 2026-11-20T05:1xZ, verbatim: 「只考虑合并没人认领的,没开始开发的,你负责处理」

    2026-11-20T05:23Z · Folded into #35735. This card's ask — "Nested-relation filter follow-ups from PR #35423: cross-realm plain object, null-prototype FROM line, stale related-id comments" — is now a row on #35735, which carries its shared-mechanism group so one claimant fixes them in one PR. The body here stays the detail that row points to. Closed only as a separate card, not as work.

  4. removed
    pm:queue
    on Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:datadomain:uipriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions