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
Might be more correct to say "turn a global variable reference into an explicit fragment argument".
I'm imagining it would turn this:
fragmentUserProfile_fragmentonUser {
nameprofile_picture {
url(scale: $scale) # <-- Right click here to refactor...
}
}
query($scale: Float!) {
me {
...UserProfile_fragment
}
}
Into:
fragmentUserProfile_fragmentonUser@argumentDefinitions(
scale: {type: "Float"} # <-- Maybe you could even have the ability to specify this as a new local name?
) {
nameprofile_picture {
url(scale: $scale)
}
}
query($scale: Float!) {
me {
...UserProfile_fragment@arguments(scale: $scale)
}
}
No description provided.
The text was updated successfully, but these errors were encountered: