Closed
Description
Using spring-graphql with Kotlin works, but when a field has a data class representing an input type, the class can't be instantiated, and fails on BeanUtils.instantiateClass(ctor);
.
This repo/commit demonstrates the issue by adding a Kotlin configuration to the project, and adding a test using a kotlin data class as mutation argument:
A workaround is to not use data classes, but I do believe data classes should be supported as well.