Skip to content

boat-angular only deprecates one of the overloaded function signatures for deprecated operations #216

@daiscog

Description

@daiscog

Current behaviour

The typescript client generated by boat-angular have several overloaded function signatures per operation depending on what the caller wants to observe as the result (i.e., return just the response body, the whole HttpResponse entity, or a stream of HTTP events).

When an operation is deprecated, only the first of these overloads are marked as deprecated:

Screenshot 2021-08-05 at 10 34 40

This means the IDE/linter of anyone using any of the other function signatures does not warn them that the endpoint is deprecated:

Screenshot 2021-08-05 at 10 34 46

(note only two of the calls are marked deprecated above)

Expected behaviour

All overloaded function signatures for a deprecated operation are marked as deprecated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions