You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The thing is, if I decide to rename the Dog's name property, my function won't have the parameter renamed. (yes this is pure luxury 💎 and it wouldn't break anything in frontend at least because if my interface matches what the server is expecting ...)
So a collegue (@vnoel) helped me figure that out :
This is great ! The only thing is that when I use F2 to rename the property (in VSC) :
Would it be possible to auto-rename the property everywhere ?
At least we have an error which is great for now :) But doing that automatically would be 🥇
PS : I think it's related to #7611 and #9257 but a little bit different
The text was updated successfully, but these errors were encountered:
I have interfaces in my app.
Let's take a dog as example :
When I
post
aDog
on the server, I ask the user to give me the dog's name and the server will return an object ofDog
type.So my function to post the
Dog
only needs his name :The thing is, if I decide to rename the
Dog
'sname
property, my function won't have the parameter renamed. (yes this is pure luxury 💎 and it wouldn't break anything in frontend at least because if my interface matches what the server is expecting ...)So a collegue (@vnoel) helped me figure that out :
This is great ! The only thing is that when I use
F2
to rename the property (in VSC) :Would it be possible to auto-rename the property everywhere ?
At least we have an error which is great for now :) But doing that automatically would be 🥇
PS : I think it's related to #7611 and #9257 but a little bit different
The text was updated successfully, but these errors were encountered: