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

Have all Options constructors and operations return Options[A] for a fluent API #31

Closed
TobiasPfeifer opened this issue Sep 26, 2020 · 0 comments · Fixed by #32
Closed

Comments

@TobiasPfeifer
Copy link
Contributor

Operators like optional and alias work on Single only. This way it's not possible to do
Options.bool("fullname", true).alias("f")

Single should be an implementation detail instead. All constructors and operations should return Options[A].

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 a pull request may close this issue.

1 participant