This fix is related to #98 and deals with one of the reasons referred to as any other reason:
The bigger issue however is that there is no visible error when the language server fails to parse the config file (e.g. when an environment variable doesn't exist at all, or for any other reason).
The language server in the following case will fails silently. Given a .graphqlconfig file containing the following endpoints:
then when executing a query using the extension, it will result in an empty content. However, if you debug the extension, a Environment variable AUTH_TOKEN is not set error will be logged.
… getting endpoint if it contains env variable.
This fix is related to #98 and deals with one of the reasons referred to as any other reason:
The language server in the following case will fails silently. Given a
.graphqlconfig
file containing the followingendpoints
:then when executing a query using the extension, it will result in an empty content. However, if you debug the extension, a
Environment variable AUTH_TOKEN is not set
error will be logged.