Skip to content

Add support for macros returning multiple error statuses #225

@DaxServer

Description

@DaxServer

What is the problem this feature would solve?

When using Eden Treaty, if an endpoint that uses a macro which has multiple error response possibilities (using status, where the status codes are different and 300+), the inferred error type is lost.

This is from Discord: https://discord.com/channels/1044804142461362206/1167744218479996970/threads/1432806862692155624

What is the feature you are proposing to solve the problem?

Infer types for endpoints with macro which has multiple error status scenarios

What alternatives have you considered?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions