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
I've tried to stringify it. import it from an actual .json file, stringify then parse it. Putting quotes around it, various types of json data, including arrays. Putting it directly in the `` instead of using a variable.
If I put in e.g. [2] it will say ...but got: [2] instead of [object object] but if I try anything that isn't an array, it will say [object object] (which isn't even what I'm trying to pass)...
I've tried to change the type to an integer and string on graph.cool and changing the variable to a matching type and it works completely fine. It will also change the name just fine if I remove the line with prices.
But I cannot get lokka to update any json... What am I missing here?
The text was updated successfully, but these errors were encountered:
I have no problems with json mutations using react-apollo. But trying to use lokka no matter what I try I get the following error:
Here's the code:
I've tried to stringify it. import it from an actual .json file, stringify then parse it. Putting quotes around it, various types of json data, including arrays. Putting it directly in the `` instead of using a variable.
If I put in e.g.
[2]
it will say...but got: [2]
instead of[object object]
but if I try anything that isn't an array, it will say[object object]
(which isn't even what I'm trying to pass)...I've tried to change the type to an integer and string on graph.cool and changing the variable to a matching type and it works completely fine. It will also change the name just fine if I remove the line with prices.
But I cannot get lokka to update any json... What am I missing here?
The text was updated successfully, but these errors were encountered: