-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
JsonTypeInfo.As.EXTERNAL_PROPERTY does not work with a Delegate #1003
Comments
Ok that may be a bug. One thing you may want to try is to add I assume this is (or can be reproduced) with Jackson 2.6.3? |
Yes, sorry should have said the version. I originally found the issue in 2.4.6 but verified it in 2.6.3 as well. Specifying Mode.Delegating does not change the exception that is thrown. |
I can reproduce the issue locally; added a failing unit test. No idea yet as to what causes this. |
Actually looks like this specific combination of "exotic" features is just not yet supported, unlike, say, property-based creator and external type id. Will try to see if it'd be easy enough to add support. |
Took a while to figure this out, but I think I solved it the way it should be solved; test had one minor flaw (no setter for |
Awesome! Thanks for the fix! |
I am using a library which generates the Jackson deserialization code as a delegate. I have created a class here which simulates this format:
This results in the following exception:
The text was updated successfully, but these errors were encountered: