blaze-persistence
blaze-persistence copied to clipboard
FR: Add support for kotlin create/update views in blaze DGS support
Currently we only support java based Create/Update views in the com.blazebit.persistence.integration.graphql.dgs.mapper.EntityViewInputObjectMappersince mapToKotlinObject does just call the super implementation without handling entity views.
We should add support for kotlin based create/update views too.
It might be that we extract the logic with com.blazebit.persistence.integration.graphql.dgs.mapper.EntityViewInputObjectMapper#mapToJavaObject and can call this from both, just the default implementation of the primitive types must then either go to super.mapToJavaObject or super.mapToKotlinObject respectively
We will try to implement this @beikov - i would suggest doing so after the sb 3.0 effort so we do not open to many unfinished efforts. What are your thoughts?
Sounds good to me