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
Generate a record constructor taking a generated POJO #11183
Projects
Milestone
Comments
There are some compilation errors in our integration tests when using UDTs. Let's investigate |
There are also |
lukaseder
added a commit
that referenced
this issue
Apr 14, 2021
lukaseder
added a commit
that referenced
this issue
Apr 14, 2021
lukaseder
added a commit
that referenced
this issue
Apr 15, 2021
This was referenced Mar 8, 2022
An edge case code generation compilation error: #13315 |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When POJOs are generated, it would make sense to generate a record constructor taking the POJO as an argument.
This is similar to the discussion here, but for constructors:
This would greatly simplify generated code in DAOs when implementing #11182, where
new EmbeddableRecord(embeddablePojo)
would be very useful.The difficulty is with nested records/pojos. Seeing that this might produce unforeseen compilation errors, it needs to be guarded by a new flag.
The text was updated successfully, but these errors were encountered: