Closed tobias-tengler closed 3 days ago
In the future, once https://github.com/facebook/relay/pull/4581 is merged (I'm still hopeful), i'd like to extend the code action to perform an actual rename for the fragment. Really looking forward to both of these PRs landing. It's incredibly frustrating to rename components / fragments currently.
@captbaritone has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.
@captbaritone merged this pull request in facebook/relay@dc2cb85aa8208234523d0bfcf7fd963f6e1e1e70.
At the moment there's a code action that suggests correct operation names, if you hover over an operation name or the operation name is associated with a diagnostic. This PR adds the same thing for fragment definition names.