You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using mapstruct to map from jooq generated kotlin data classes to other classes but because jooq generator defaults all the constructor parameters to null Mapstruct doesn't know how to invoke the constructor as it is Java based.
#10212 seems to be a much more generic solution, which I don't know if it will address the mapstruct problem outlined in my request. I guess I will wait for it to get resolved and decide then.
Use case:
We are using mapstruct to map from jooq generated kotlin data classes to other classes but because jooq generator defaults all the constructor parameters to null Mapstruct doesn't know how to invoke the constructor as it is Java based.
I have described in detail the use case here: mapstruct/mapstruct#2378 (comment)
Possible solution you'd like to see:
Essentially I think it would be enough to be able to modify the following code and have the
= null
be configurable:jOOQ/jOOQ-codegen/src/main/java/org/jooq/codegen/JavaGenerator.java
Line 2058 in 5e69809
Possible workarounds:
As a workaround we are not using immutable Pojos in the code generator
Versions:
The text was updated successfully, but these errors were encountered: