blaze-persistence icon indicating copy to clipboard operation
blaze-persistence copied to clipboard

FR: Add support for kotlin create/update views in blaze DGS support

Open EugenMayer opened this issue 2 years ago • 2 comments
trafficstars

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

EugenMayer avatar Mar 14 '23 11:03 EugenMayer

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?

EugenMayer avatar Mar 14 '23 11:03 EugenMayer

Sounds good to me

beikov avatar Mar 14 '23 11:03 beikov