Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parsing of empty string when using options::LiteralAsStringOpt #373

Open
mark-99 opened this issue Feb 8, 2023 · 0 comments
Open

Parsing of empty string when using options::LiteralAsStringOpt #373

mark-99 opened this issue Feb 8, 2023 · 0 comments

Comments

@mark-99
Copy link

mark-99 commented Feb 8, 2023

When using options::LiteralAsStringOpt::Always/Maybe and the input is an empty string, the current behaviour is to throw an exception that it is an invalid number.

Would be good to have an option to parse this as null.

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

No branches or pull requests

1 participant