Skip to content

Fix broken type inference tests in requestMethods #1437

@jasonkuhrt

Description

@jasonkuhrt

Problem

Three tests in src/extensions/DocumentBuilder/methods-instance/ are failing with type inference issues:

  1. requestMethods.test-d.ts:7 - Expected {id2: string | null} | null but getting {} | null
  2. requestMethods.test-d.ts:13 - Parameter type assertion failure
  3. requestMethods.defer-client.integration.test.ts:180 - Type mismatch on array fields

These failures exist on BOTH main and refactor branches - they are pre-existing bugs, not regressions.

Files

  • src/extensions/DocumentBuilder/methods-instance/requestMethods.test-d.ts
  • src/extensions/DocumentBuilder/methods-instance/requestMethods.defer-client.integration.test.ts

Impact

Blocks CI from being 100% green

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions