Steps to Reproduce
config
generatedLanguage = GeneratedLanguage.KOTLIN
generateApis = true
apiReturnType = "reactor.core.publisher.Mono"
customTypesMapping = mapOf(
"ZonedDateTime" to "String",
)
schema
type Query {
nullable: ZonedDateTime
mandatory: ZonedDateTime!
}
Expected Result
interface QueryResolver {
@Throws(Exception::class)
fun nullable(): reactor.core.publisher.Mono<String?>
@Throws(Exception::class)
fun mandatory(): reactor.core.publisher.Mono<String>
}
Actual Result
interface QueryResolver {
@Throws(Exception::class)
fun nullable(): reactor.core.publisher.Mono<String>
@Throws(Exception::class)
fun mandatory(): reactor.core.publisher.Mono<String>
}
non nullable return type of nullable() doesn't match the schema
Your Environment and Setup
- graphql-java-codegen version: 5.5.0
- Build tool: Gradle
Steps to Reproduce
config
schema
Expected Result
Actual Result
non nullable return type of
nullable()doesn't match the schemaYour Environment and Setup