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

Make NameAwareAttributes Iterable #937

Open
jzheaux opened this issue Oct 10, 2024 · 0 comments
Open

Make NameAwareAttributes Iterable #937

jzheaux opened this issue Oct 10, 2024 · 0 comments
Labels
Epic status: ideal-for-contribution An issue that we actively are looking for someone to help us with type: enhancement
Milestone

Comments

@jzheaux
Copy link
Contributor

jzheaux commented Oct 10, 2024

Working with NamingEnumerations can be cumbersome. Specifically, since each of its methods throws a checked exception, it can be challenging to use its contents inside of a lambda.

If NameAwareAttributes implements Iterable<NameAwareAttribute>, then aside from it being able to use an enhanced for loop, it can also be converted to a stream and use the Stream API.

When adding this, tests should be added to NameAwareAttributesTests to confirm that iteration works.

@jzheaux jzheaux added this to the 3.3.0-M1 milestone Oct 10, 2024
@jzheaux jzheaux added the status: ideal-for-contribution An issue that we actively are looking for someone to help us with label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Epic status: ideal-for-contribution An issue that we actively are looking for someone to help us with type: enhancement
Projects
None yet
Development

No branches or pull requests

1 participant