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
As both of them are valid syntax, I am wondering which one is the best practice, what are the pros and cons of these two? Hope anyone could give me some suggestions, thanks.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've always had this question in my work. When you pass params in a query(not mutation), you have 2 styles:
As both of them are valid syntax, I am wondering which one is the best practice, what are the pros and cons of these two? Hope anyone could give me some suggestions, thanks.
Beta Was this translation helpful? Give feedback.
All reactions