Skip to content

Introduce the of() method with the basic major.minor.patch scenario #237

@piotrooo

Description

@piotrooo
          hmm... not sure how I feel about that solution, it's less stringy, but quite verbose for the basic major.minor.patch scenario. I'll differ, but I think I'd have an `of(int,int,int)` that delegates to what's documented.

Originally posted by @xenoterracide in #218 (comment)

Proposed contract:

Semver.of(1, 2, 3) // equivalent to new Semver("1.2.3")

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions