-
Notifications
You must be signed in to change notification settings - Fork 963
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Extend PackageName with value object interface
We should be able to compare two package names, and since they don't have an identity, it makes sense to treat them as values. One assumption I made here is that we'd want to be able to compare non-PackageName objects' string values with PackageName object string values (i.e. `PackageName.new("string") == "string"`) Co-authored-by: Mattt <mattt@github.com>
- Loading branch information
1 parent
525fbcf
commit 997cade
Showing
2 changed files
with
58 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters