Skip to content

Make spec type tests catch .optional() missing args too #1298

@felixweinberger

Description

@felixweinberger

We have tests covering adherence to schema.ts with our Zod types, but these don't catch if we're missing optional params.

Example: #1295

Would be great to be able to catch such cases too so our internal SDK types include both required and optional params from the spec.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Moderate issues affecting some users, edge cases, potentially valuable featureenhancementRequest for a new feature that's not currently supportedready for workEnough information for someone to start working on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions