Skip to content
This repository was archived by the owner on Jul 11, 2018. It is now read-only.

Fixed failed parsing on nullable options #14

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
Open

Fixed failed parsing on nullable options #14

wants to merge 9 commits into from

Conversation

akbyrd
Copy link

@akbyrd akbyrd commented May 31, 2015

Enum.Parse and Convert.Change type can't convert directly from string to a nullable type so I added a type conversion to the underlying type before parsing/converting takes place. Also added a unit test for nullable types as options.

Adam Byrd added 5 commits May 31, 2015 16:44
Added unit test for nullable types
When shortName is specified, longName cannot be used. This appears to be
by design so that unit test has been updated to reflect.
Added unit test for sequences with Min = 0
@akbyrd
Copy link
Author

akbyrd commented Jun 6, 2015

I only meant for 851779a to be in this PR. Shoulda made a branch for the fix. Sorry, first time trying this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant