Skip to content

Conversation

@hkrotsik
Copy link
Contributor

Small fix that changes the TryFromName behavior so it returns false when the name is null or empty instead of throwing an error. However, it should be considered as breaking change so it might be better to bump the major version number.
Also, the PR contains a few unit tests that cover TryFromName

This PR resolves #95

@ardalis ardalis merged commit 32c1f9c into ardalis:master Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TryFrom* methods shouldn't throw ArgumentException

2 participants