We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
still need a way to select which constructor to use (either by using annotation or finding out which one to use depending on the bindings)
The text was updated successfully, but these errors were encountered:
names of constructor parameters are dropped by compiler so for :
record TestRecord7(long val) { @JsonCreator public TestRecord7(int valInt) { this(Long.valueOf(valInt)); } }
The name valInt gets dropped by compiler and changed to arg0 so the binding for valInt is not found and class instanciation fails
valInt
arg0
Sorry, something went wrong.
test - example of use of another constructor for record decoding (#16)
e09fa39
8dc32ff
mxyns
yuxin-miao
noahra
Successfully merging a pull request may close this issue.
still need a way to select which constructor to use (either by using annotation or finding out which one to use depending on the bindings)
The text was updated successfully, but these errors were encountered: