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
don't know why passing a value in variables, it is useless. cuz variable's value is passed from outside of the graphql-tag, it only defines a name here. doc
actually, I don't think variables should be an object, It should be a keys array, cuz, it only define the variable types
so __variable__ is useless too, cuz we alway need define variable names with a named operation
now, the 'methodArgs', 'variables', 'types' design looks superfluous and not easy to use
maybe you should plan well
if keeping the variables still accept an object, I think the key:value <--- value should be an TYPE definition
I guess maybe you want the variable accept a default value? but seems it not work as expect
The text was updated successfully, but these errors were encountered:
In test example,
don't know why passing a value in variables, it is useless. cuz variable's value is passed from outside of the graphql-tag, it only defines a name here. doc
actually, I don't think variables should be an object, It should be a keys array, cuz, it only define the variable types
so
__variable__
is useless too, cuz we alway need define variable names with a named operationnow, the 'methodArgs', 'variables', 'types' design looks superfluous and not easy to use
maybe you should plan well
if keeping the variables still accept an object, I think the key:value <--- value should be an TYPE definition
I guess maybe you want the variable accept a default value? but seems it not work as expect
The text was updated successfully, but these errors were encountered: