-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Autodetect classes in ObjectMapper #5071
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
base: 3.x
Are you sure you want to change the base?
Conversation
I'm not a fan of this change. It is a hack to work around language limitations. It makes all sorts of invalid readValue calls compile (e.g. nonsense like |
@yawkat has valid point. And also ObjectWriter/ObjectReader in mind, we shod be careful to not add up big complexity or API inconsistency. |
@yawkat 's point make sense. Let me know if we can ignore this or need more discussion. @JooHyukKim @cowtowncoder |
@cowtowncoder can you check above. |
@rohanlopes20 I think I'll need to postpone this a bit, consider post 2.19.0. I think it does require more discussion. I like the idea, but I think @yawkat's concerns are valid. We could, for example, consider alternate method name instead of overload. Like, maybe
|
#5064