Skip to content

Is Engine required? #1075

@jedrichards

Description

@jedrichards

Is it possible to use these tools without using the Engine service at all? I can successfully run commands on my client project with a valid ENGINE_API_KEY, but as soon as I remove it I run into problems.

Trying to run apollo client:check without an api key env var, against a live server on a url with the following config:

module.exports = {
  client: {
    service: {
      url: 'http://...',
    },
    includes: ['src/**/*.graphql'],
  },
}

Results in an error: No service found to link to Engine. If I add an arbitrary name,

module.exports = {
  client: {
    service: {
      name: 'foo',
      url: 'http://...',
    },
    includes: ['src/**/*.graphql'],
  },
}

I get an error: Unable to find ENGINE_API_KEY.

Using a localSchemaFile results in no joy either.

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