Skip to content

Simplify Response #12

@vlopes11

Description

@vlopes11

Is your feature request related to a problem? Please describe.
The BreakpointLocationsResponse containts a body that points to Vec<BreakpointLocation>. This is redundant and extends the encoding/decoding pattern, that shouldn't necessarily reflect the Rust API

Describe the solution you'd like
Transitively, it should just be a Vec<BreakpointLocation>. This is an example and is also applicable to the other responses that are enforcing an additional level via body when this, for the library level, is just redundant and doesn't improve the API

Describe alternatives you've considered
Using a literal representation of the specifications will not benefit from the features of Rust and might even be too confusing/verbose.

Additional context
N/A

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