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

Use map factory in getValues #1097

Merged
merged 1 commit into from
Jan 24, 2024
Merged

Use map factory in getValues #1097

merged 1 commit into from
Jan 24, 2024

Conversation

radcortez
Copy link
Member

@radcortez radcortez commented Jan 24, 2024

@radcortez radcortez merged commit 9b36524 into smallrye:main Jan 24, 2024
8 checks passed
@github-actions github-actions bot added this to the 3.6.0 milestone Jan 24, 2024
@@ -322,9 +322,15 @@ public static <A, T> Converter<A> newArrayConverter(Converter<? extends T> itemC
* @param <V> the type of the values
* @return the new converter (not {@code null})
*/
@Deprecated
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why deprecate this one?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the collection converter, we don't offer an API method without the factory, so I wanted to make the API consistent. I guess we could also add a method API that defaults the collection type like the map converter.

radcortez added a commit that referenced this pull request Feb 6, 2024
@radcortez radcortez modified the milestones: 3.6.0, 3.5.3 Feb 6, 2024
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.

Bug: SmallRyeConfig#getValues: mapFactory is not used
2 participants