legacy API – refetch container – refetch query not being compiled
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
Hi team,
I'm using v14.1.0 of relay, but still working with the legacy API for refetch container.
Currently seeing the problem that the refetch query is not being generated by the relay compiler.
My code currently matches the expectations outlined in https://relay.dev/docs/v10.1.3/refetch-container/ however when running the relay compiler, we are not seeing the generation of the `*RefetchQuery.graphql.js` files.
This. then obviously breaks things :sadpanda:
Attempts to make use of the `@refetchable` directive likewise fails, yielding:
```
✖︎ Invalid use of @refetchable on fragment 'PAGE_property', check that your schema defines a `Node { id: ID }` interface and has a `node(id: ID): Node` field on the query type (the id argument may also be non-null).
```
Running the compiler with `--output debug` also shows that there is no "new artifact" identified by the compiler for the refetch queries.
Contributor guide
Assessment
This issue has not been assessed yet.