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

Fix placeholder option logic #26

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

avertes-vv
Copy link

@avertes-vv avertes-vv commented Aug 16, 2023

OptionFactory has a placeholder option to give the application chance at reading options, but it doesn't actually work as maxLength defaults to 0.

I gave placeholder option a maxLength of ushort.MaxValue. I realize it would be even better to be able to configure whether options are allowed at all and to configure maximum length for options. But with this fix it at least has a change of reading options.

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.

1 participant