Closed pooja335 closed 6 years ago
Hi @pooja335,
Which version of graphql
gem do you use? I can't reproduce it with 1.7.14
or 1.8.5
. Just in general here is how the code which detects the priority looks like (fields first, then type):
When you remove type-level guard
, does it work?
Closing the issue, feel free to reopen if you have more details.
Hi! I am trying to setup field-level and type-level permissioning, and I'm running to an issue where the type guard seems to have a higher priority than the field. Here is my code:
I'm not able to see any of the fields, including height, even though the guard returns true for height.