You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make it so that certain directives of a schema are only present in certain contexts (e.g., federation directives only included in federated contexts). From playing around with the .visible? hook, it seems like a directive that isn't visible has its definition removed, but the usage of the directive still exists. For example, the following script:
Hey, thanks for the detailed report. I would also expect that type Query would not have @myDirective in this case. I'm guessing it just wasn't implemented yet.
I think this is the call that needs to be corrected:
Describe the bug
I'm trying to make it so that certain directives of a schema are only present in certain contexts (e.g., federation directives only included in federated contexts). From playing around with the
.visible?
hook, it seems like a directive that isn't visible has its definition removed, but the usage of the directive still exists. For example, the following script:Produces the following output:
The output I would expect is:
Is that the expected behavior of the
.visible?
hook on directives?The text was updated successfully, but these errors were encountered: