Skip to content

Suggestion for intersection types #109

@rsan-one-network

Description

@rsan-one-network

Right now when the json schema has intersection types you are using the ".and" command to join them together. Would it not be better to use the .merge command as it's suggested in the documentation?

image

In my implementation i need to access the shape attribute of the generated zod objects but ZodIntersection does not have it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions