facebook / facebook/relay

Relay 13 compiler doesn't delete stale codegen

Open
#3,864 9 comments 8 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
19k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

For example, let's say I have `Foo.tsx`, which contains a GraphQL mutation called `FooMutation`. This will cause Relay compiler to generate a file called `FooMutation.graphql.ts`

However, if I delete `FooMutation` from `Foo.tsx`, and then re-run the Relay compiler, `FooMutation.graphql.ts` will still be there. I expected it to be deleted

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.