Skip to content

CustomUnitAmount doesn't derive Eq, PartialEq #727

@appellation

Description

@appellation

Is your feature request related to a problem? Please describe.

I've been kicking the tires on the new v1 alpha and noticed a mild annoyance that none of the 3 CustomUnitAmount structs derive Eq or PartialEq. This makes it annoying to check if they are equivalent.

Describe the solution you'd like

It should be possible to test equality between instances of CustomUnitAmount. I don't think it makes sense that they could be compared across different types, but it would make sense that we could compare the same type.

Describe alternatives you've considered

The alternative is what exists today, where it is not possible to test these structs for equality.

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions