Describe the bug
When "schemaPath": "${env:GRAPHQL_SCHEMA_PATH}", line is added to .graphqlconfig, it tries to create a file actually named ${env:GRAPHQL_SCHEMA_PATH}:
At the same time, it correctly reads the env variables in "Authorization": "Bearer ${env:GRAPHQL_AUTH_TOKEN}" and "url": "${env:GRAPHQL_ENDPOINT_URL}",
To Reproduce
Create .env file
Add this line: GRAPHQL_SCHEMA_PATH="schema.graphql" to .env file
Add this line: "schemaPath": "${env:GRAPHQL_SCHEMA_PATH}", to .graphqlconfig file
Run introspection
Expected behavior
Schema should be created in a file named schema.graphql. Instead it's created in a file literally called ${env:GRAPHQL_SCHEMA_PATH}.
Version and Environment Details
Operating system: Fedora 36
IDE name and version: Webstorm 2022.2.3
Plugin version: 3.3.0
Describe the bug When
"schemaPath": "${env:GRAPHQL_SCHEMA_PATH}",
line is added to.graphqlconfig
, it tries to create a file actually named${env:GRAPHQL_SCHEMA_PATH}
:At the same time, it correctly reads the env variables in
"Authorization": "Bearer ${env:GRAPHQL_AUTH_TOKEN}"
and"url": "${env:GRAPHQL_ENDPOINT_URL}",
To Reproduce
.env
fileGRAPHQL_SCHEMA_PATH="schema.graphql"
to.env
file"schemaPath": "${env:GRAPHQL_SCHEMA_PATH}",
to.graphqlconfig
fileExpected behavior Schema should be created in a file named
schema.graphql
. Instead it's created in a file literally called${env:GRAPHQL_SCHEMA_PATH}
.Version and Environment Details Operating system: Fedora 36 IDE name and version: Webstorm 2022.2.3 Plugin version: 3.3.0