Skip to content

How to access built-in directives? #652

Closed Answered by spasarok
spasarok asked this question in Q&A
Discussion options

You must be logged in to vote

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!

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@spasarok
Comment options

@pavelnikolov
Comment options

@spasarok
Comment options

@spasarok
Comment options

Answer selected by spasarok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants