Skip to content

Missmatch compiler and babel when using graphql 15.3 > #5214

@casperstr

Description

@casperstr

We get the following errors when using graphql 16 for queries using @argumentDefinitions.

The definition of 'xxxx' appears to have changed. Run relay-compiler to update the generated files to receive the expected data.

There seems to be a missmatch between how the compiler calculates the hash and how babel-config does it.
The print method seems to be using different logic; the babel config is using graphql.js print while relay-compiler is using its own implementation that is not always matching on graphql 16.

We are using the typescript type-generation.

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