Skip to content

Stop using Class as map key for custom mappings #1091

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

Merged
merged 1 commit into from
Apr 21, 2025

Conversation

onobc
Copy link
Collaborator

@onobc onobc commented Apr 18, 2025

This commit updates the DefaultTopicResolver and DefaulSchemaResolver to use String class names rather than Class instances as map keys for their custom mappings.

Resolves #1078

@onobc onobc added the type: feature A new feature or enhacement label Apr 18, 2025
@onobc onobc added this to the 1.2.5 milestone Apr 18, 2025
@onobc onobc force-pushed the GH-1078-remove-class-from-map-key branch 2 times, most recently from 8af696e to e79954e Compare April 21, 2025 18:59
This commit updates the DefaultTopicResolver and DefaulSchemaResolver to use
String class names rather than Class instances as map keys for their custom
mappings.

Resolves spring-projects#1078
@onobc onobc force-pushed the GH-1078-remove-class-from-map-key branch from e79954e to f154eaa Compare April 21, 2025 19:21
@onobc onobc merged commit 605bcde into spring-projects:main Apr 21, 2025
7 checks passed
@onobc onobc deleted the GH-1078-remove-class-from-map-key branch April 21, 2025 22:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A new feature or enhacement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TopicResolver uses map<CLass<*>, topicname>. Failure with spring-devtools
1 participant