graphql-java-tools
                                
                                 graphql-java-tools copied to clipboard
                                
                                    graphql-java-tools copied to clipboard
                            
                            
                            
                        Generic DataClass in Resolver
I want to have some kind of
TestResolver implements GraphQLResolver<TestDataClass<MyType>>
but result of code above is throw ResolverError("Unable to determine data class for resolver '${resolverType.name}' from generic interface! This is most likely a bug with graphql-java-tools.")
because TypeUtils.determineTypeArguments() returns ParameterizedType instead of Class
If I use TestResolver implements GraphQLResolver<TestDataClass>, it isn't linked with
TestQuery implements GraphQLQueryResolver { public TestDataClass<MyType> get(String id, DataFetchingEnvironment) {...} }
because TestDataClass andTestDataClass<MyType>aren't the same.
What is a correct way to achieve this?