Aaron
05/30/2020, 8:13 AMspring-devtool
and graphql-kotlin-spring-server
when hot-swapping code? The full detail is here https://github.com/ExpediaGroup/graphql-kotlin/issues/730. Essentially it would work fine the first time around, but after you make some changes or just add a simple println
I get this error DataFetchingException: Object is not an instance of declaring class
. Would love to know if anyone encounter this and know how to fix this 🙂Dariusz Kuc
05/30/2020, 1:18 PMShane Myrick
05/30/2020, 7:42 PMGraphQL
class to check the class hash again.
I am not familiar with spring-devtool
but can you have it also reload the spring bean for GraphQL
when you reload the server?Aaron
05/30/2020, 11:21 PMRobert
06/04/2020, 6:57 AM@EnableGlobalMethodSecurity(securedEnabled = true)
and
@Secured("ROLE_ABC")
in my resolver impl.
Exception is thrown here:
at com.expediagroup.graphql.execution.FunctionDataFetcher$runSuspendingFunction$1.invokeSuspend(FunctionDataFetcher.kt:128)
I'm not using spring-devtoolsDariusz Kuc
06/04/2020, 2:13 PM@Secured
will most likely wrap underlying method in a proxy which might be causing the issueRobert
06/04/2020, 8:34 PMDariusz Kuc
06/04/2020, 8:35 PM