Skip to content

Relay 13 support #36

@petrbela

Description

@petrbela

Seems Relay 13 no longer uses relay-config. What is the configuration we should pass to apollo.client.js? If I follow the expanded example in readme, it throws Unable to load relay-compiler, so 'includes' may need manual configuration. when calling generateConfig, followed by Cannot read property 'schemaExtensions' of undefined.

FWIW, I can set up the Apollo VSCode plugin and get field autocompletion without this plugin and setting apollo.config.js to the following (but not sure what features from this plugin I'm missing and will need later?):

module.exports = {
  client: {
    tagName: 'graphql',
    service: {
      name: '...',
      localSchemaFile: './schema.graphql',
    },
  },
}

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