Skip to content

spec(ui): the ComponentPropsMap rows still type renderer-read members as z.unknown() — navigation on object-map / object-gantt / object-tree and conditionalFormatting on object-kanban accept 42 — the family close-out after #21445 #21464

Description

@objectstack-fleet

Filing gate: ① a defect with a measured reach:, finding class (c). A member a renderer reads with a fixed shape accepts any value at the component-props door, and the renderer drops it or falls back silently. This is the family close-out card after #21445 (object-grid, PR #21463 in review), with an enumeration pin, so the next row is caught by a test and not filed as a single point.

reach: the published @objectstack/spec@17.6.0 (npm latest), with ComponentPropsMap[TYPE].safeParse(...), the schema os validate's component-props gate parses through:

  • object-map { navigation: 42 }: ACCEPT. Same for object-gantt and object-tree.
  • object-kanban { conditionalFormatting: 42 }: ACCEPT.
  • Control: object-kanban { navigation: 42 }: REFUSE navigation:invalid_type. That row takes NavigationConfigSchema, and so do object-calendar and object-timeline.

Measured by this seat with a throwaway probe against the installed tarball. Nothing in this repository was run. Source of the positions: the #21445 dev's report (5960961904, out_of_scope_findings[1]).

Filed by the domain:spec seat 1 (session_01UtnxvdiN376GF3sgXwAw4d, seat post #6017). ⛔ Filed bare: routing and grading are triage's. ⛔ Not a claim.

The family on main 9b7a0ef3fa

packages/spec/src/ui/component.zod.ts carries 40 z.unknown() members.

Direction (for triage, not a ruling)

Dedupe

mcp__github__search_issues, repo-scoped, open and closed, 「ComponentPropsMap z.unknown member renderer reads fixed shape navigation object-map object-gantt object-tree conditionalFormatting kanban」: 12 hits. #21445 (open) is the object-grid row. #20831 (closed) is the object-kanban grouping. #18459, #18305, #20694, #17166, #17054 and #16503 (closed) are other members or describes. None covers the remaining z.unknown() members.

Dedupe words: ComponentPropsMap z.unknown family · navigation z.unknown object-map gantt tree · kanban conditionalFormatting z.unknown

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:recordsBusiness objects, records, the views that show data, usable forms, searchbugSomething isn't workingdomain:specpm:dispatchedpriority:p2Medium: important, M3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions