enisdenjo / graphql-composite

MIT License
5 stars 0 forks source link

Support inaccessible enum value #42

Closed kamilkisiela closed 3 months ago

kamilkisiela commented 3 months ago

Closes #33

simple-inaccessible test case.

The gateway is expected to remove an enum value that is not aware of (it's marked as @inaccessible meaning it should never reach the public response).

I guess we would have to make GatherPlan aware of enum values that needs to be nullified. There's also enum intersection that might be something we want think about as well, when dealing with the inaccessible enum.