@@ -57,6 +57,7 @@ graphqlCodegen {
5757 packageName = " de.unistuttgart.iste.meitrex.generated.dto"
5858 generatedAnnotation = " jakarta.annotation.Generated"
5959 modelValidationAnnotation = " jakarta.validation.constraints.NotNull"
60+ generateJacksonTypeIdResolver = true // allows graphql .toEntity() conversion with Jackson for interfaces and unions
6061 generateApis = false // set to false as the generator does not support spring boot graphQL
6162 customTypesMapping = [
6263 " DateTime" : " java.time.OffsetDateTime" ,
@@ -109,7 +110,7 @@ repositories {
109110
110111dependencies {
111112 implementation(" com.google.code.gson:gson:2.10.1" )
112- implementation ' de.unistuttgart.iste.meitrex:meitrex-common:1.3.3 '
113+ implementation ' de.unistuttgart.iste.meitrex:meitrex-common:1.4.6 '
113114 implementation ' org.springframework.boot:spring-boot-starter-data-jpa'
114115 implementation ' org.springframework.boot:spring-boot-starter-graphql'
115116 implementation ' org.springframework.boot:spring-boot-starter-validation'
@@ -126,7 +127,7 @@ dependencies {
126127 runtimeOnly ' org.postgresql:postgresql'
127128 annotationProcessor ' org.springframework.boot:spring-boot-configuration-processor'
128129 annotationProcessor ' org.projectlombok:lombok'
129- testImplementation ' de.unistuttgart.iste.meitrex:meitrex-common-test:1.3.3 '
130+ testImplementation ' de.unistuttgart.iste.meitrex:meitrex-common-test:1.4.6 '
130131 testImplementation ' org.springframework.boot:spring-boot-starter-test'
131132 testImplementation ' org.springframework:spring-webflux'
132133 testImplementation ' org.springframework.graphql:spring-graphql-test'
0 commit comments