graphile / graphile/crystal

Inconsistency error with GraphileApolloLink.ts; likely an issue with Apollo Client but tracking here

Open
#2,495 2 comments 0 reactions 0 assignees View on GitHub
⚛️ compatibility
Dominant language
TypeScript
Stars
12.9k
Forks
625
Avg merge
5h 23m
Merged PRs (30d)
24

Description

### Summary

```
Inconsistency error: operation matches, fragment names match, but fragment 'SharedLayout_Query' is not '===' to the previous value.
```

As discussed in:
https://discord.com/channels/489127045289476126/498852330754801666/1373200934150344724

Trying to use GraphileApolloLink.ts from starter with the newest beta versions of postgraphile/grafast (postgraphile@5.0.0-beta.40 at the moment) in Nuxt conversion of starter I ran into the error in the title.

### Hack fixing the error

https://github.com/xvaara/graphile-starter-nuxt/blob/aef16aa0f718ca0387fa3dfc82c75a5e05466505/app/plugins/lib/GraphileApolloLink.ts#L59-L62

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.