Skip to content

Flags types should support a builder-like API #444

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

Closed
molpopgen opened this issue Jan 17, 2023 · 2 comments
Closed

Flags types should support a builder-like API #444

molpopgen opened this issue Jan 17, 2023 · 2 comments
Labels
ergonomics Issues/PRs related to API ergonomics

Comments

@molpopgen
Copy link
Member

molpopgen commented Jan 17, 2023

It would be much more ergonomic to say FlagsType::default().x().y() instead of using the bitwise or notation.

Related PRs:

@molpopgen molpopgen added the ergonomics Issues/PRs related to API ergonomics label Jan 17, 2023
@molpopgen
Copy link
Member Author

Closed via #464

@molpopgen molpopgen reopened this Mar 15, 2023
@molpopgen
Copy link
Member Author

closed via #487

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ergonomics Issues/PRs related to API ergonomics
Projects
None yet
Development

No branches or pull requests

1 participant