Closed FabHof closed 4 years ago
@FabHof sorry for this issue, I've confirmed that this is working in the latest release, although you'll have to manually specify
extensions:
endpoints:
default:
url: "http://localhost:3001/graphql"
develop:
url: "https://some-dev-endpont/graphql"
in graphql-config@3, the endpoints extension seems to be simplified as such, though i've considered just @ts-ignore'ing the new ts definitions to support the simpler config pattern used by many.
you can now use commonjs and process.env if you want, in case that's helpful
if it's working for you now, feel free to close it! the selection for endpoint name should still work, as well
Actual Behavior
When adding multiple endpoints to the .graphqlconfig.yml, this extension will not work
working .graphqlconfig.yml
not working .graphqlconfig.yml
Expected Behavior
autocomplete and goto definition should work independent of endpoints.
Specifications