public interface Category<C> extends Categorizable {
String getCode();
CategoryType getCategoryType();
}
public interface Categorizable<C extends Category> {
@GraphQLIgnore
C getCategory();
}
public class ServiceSubCategory implements Category<ServiceCategory> {
....
@GraphQLIgnore
public ServiceCategory getCategory() {
return serviceCategory;
}
....
}
When the schema is build there is an error because the method getCategory launches a TypeMappingException because ServiceCategory is a generic type. But i have marked the methos as @GraphQLIgnore, so this method should be ignored when processing the schema, but it's not
To solve this i have to modifiy method buildResolvers on PublicResolverBuilder to filter methods that are annotated with @GrapohQLIgnore
Hello,
If we have this case
When the schema is build there is an error because the method getCategory launches a TypeMappingException because ServiceCategory is a generic type. But i have marked the methos as @GraphQLIgnore, so this method should be ignored when processing the schema, but it's not
To solve this i have to modifiy method buildResolvers on PublicResolverBuilder to filter methods that are annotated with @GrapohQLIgnore