Skip to content

Generic DataClass in Resolver #308

@Starkom

Description

@Starkom

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions