We previously tried to rename the references only, but this only works if the new name is suffixed by Query etc, because we don't have a way to specify a name per reference.
So now instead we rename the generated code (which will rename the references). That works, but a side effect is a warning about files changed on disk. A bit annoying but acceptable.
Fix #6220
We previously tried to rename the references only, but this only works if the new name is suffixed by Query etc, because we don't have a way to specify a name per reference.
So now instead we rename the generated code (which will rename the references). That works, but a side effect is a warning about files changed on disk. A bit annoying but acceptable.
https://github.com/user-attachments/assets/54f462d4-7950-475e-8029-bbc280193d63