-
Hello! How do I access query values for built-in directives like |
Beta Was this translation helpful? Give feedback.
Answered by
spasarok
Oct 9, 2024
Replies: 1 comment 6 replies
-
Hi @spasarok, These built-in directives are handled by the lib automatically. You do not have to do anything on the server-side to apply them. See unit tests, for example, TestSkipDirective and TestIncludeDirective. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In conclusion, the module does handle omitting fields marked with@skip
from the response structure returned to the user. However, I cannot currently find a way to prevent the server from still processing fields marked with@skip
. If I do find a way to achieve this, I will update here.Update:
@skip
appears to work as expected when using method resolvers. I will switch to method resolvers for fields I want to enable skipping. Thanks!