GraphQL API fails if custom type is not allowed via a field_policy
I noticed that if I ask my graphQL API to return a field that is forbidden, if the field is built-in, it will just return the field as
But, if I try the same with a custom type, then I just get the full result as null:
null, all the other fields normally (assuming they are not forbidden as-well) and an error in the errors list telling that this field is forbidden.But, if I try the same with a custom type, then I just get the full result as null:
