Field Response Removal
Field Response Removal
Addition of the @remove
directive to the GraphQL schema, which removes the output of a field from the response.
In the query below, we generate the URL to send an HTTP request to, using fields to calculate intermediate values (which are not needed in the response) so these are @remove
d:
The response will not contain the @remove
d fields siteURL
and requestURL
: