[relay-compiler] Question about a possible bug in writeRelayGeneratedFile
Open
wontfix
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
I noticed a strange behavior caused by this `if`: https://github.com/facebook/relay/blob/master/packages/relay-compiler/codegen/writeRelayGeneratedFile.js#L98
in practice the fragment nodes are rewritten every time it is compiled even if they have not been modified.
Is this the expected behavior or is it a bug?
Contributor guide
Assessment
This issue has not been assessed yet.