Skip to content

Comparing backwards compatible versions? #40

Description

@devmattrick

Thanks for the awesome library! One thing I noticed that's probably intentional is that Version.Equals returns false if the patch and minor versions are different but major is equal.

Equals might be the wrong method since it might imply strict equality, but maybe there should be another method that compares versions more closely to the semver spec? The first thing that came to mind is BackwardsCompatible or maybe Compatible if that's too wordy.

Thanks for your time!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions