I am trying to set up IDE to ease GraphQL development for our junior team members. And not gonna lie, to help myself too.
I have a query that operates on client state:
import gql from 'graphql-tag';
export default gql`
mutation LoadProfile($profile: ProfileInput!) {
loadProfile(profile: $profile) @client {
accessToken
avatar
name
}
}
`
Though, removing the @client does not invalidate the query.

Is this expected behaviour or I have misconfigured something or it's a bug?
Otherwise, everything seem to be working - autocompletion for both client queries and remote queries, go-to definition, validation, for instance:

Just that dropping @client from client queries doesn't throw anything.
I am trying to set up IDE to ease GraphQL development for our junior team members. And not gonna lie, to help myself too.
I have a query that operates on client state:
Though, removing the
@clientdoes not invalidate the query.Is this expected behaviour or I have misconfigured something or it's a bug?
Otherwise, everything seem to be working - autocompletion for both client queries and remote queries, go-to definition, validation, for instance:
Just that dropping
@clientfrom client queries doesn't throw anything.