IllegalArgumentException
occurs on Spring Framework 6.1 when using AOP
#1894
Labels
type: bug
Something isn't working
Library Version
com.expediagroup:graphql-kotlin-spring-server:7.0.2
Describe the bug
Spring Framework 6.1 (Spring Boot 3.2.0) introduced additional AOP feature for Kotlin coroutine.
spring-projects/spring-framework#22462
due to this feature, Query or Mutation methods will be called by
CoroutinesUtils
of Spring Framework, which gives ID type as just String type to those methods.(ID type is expected, but
o
, String type, is given actually)then,
IllegalArgumentException
occurs because those methods expects ID type variables but String type ones are given.stacktrace
To Reproduce
i prepared sample project
https://github.com/T45K/Spring_GraphQL-Kotlin_trial
i hope you can reproduce this issue easily.
Expected behavior
ID type variables are given as ID type to those methods even if AOP feature is used.
The text was updated successfully, but these errors were encountered: