Skip to content

VSCode : Without Apollo engine #667

@joaogarin

Description

@joaogarin

Hello,

I amt trying to use the apollo vs code extension, but I am not using Apollo Engine. :Does the extension support other endpoints ? or even a local introspection result file (json)?

My config looks like this :

module.exports = {
  client: {
    service: {
      endpoint: {
        url: 'https://{myendpoint}/graphql'
      },
    }
  }
};

Right when opening the editor I can find a couple errors :

TypeError: Only absolute URLs are supported (even though my endpoint is absolute)
UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Unable to find ENGINE_API_KEY

My frontend lives in a subfolder so the apollo.config.js lives also in that folder, even though I also tried putting it in the root but the same errors showed up

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions