graphql icon indicating copy to clipboard operation
graphql copied to clipboard

Update the example to show json decoding

Open simobiggs opened this issue 5 years ago • 1 comments

Simple example, but might save a bit of head scratching. Particularly querying an _id field like you get from faunadb was a bit confusing at first.

simobiggs avatar Mar 05 '20 14:03 simobiggs

+1 to this PR, I spent a decent chunk of time trying to figure this out. It might be "obvious" because the code only unmarshals the json, but a simple example to make the example code actually successfully compile would go a long way.

kevmo314 avatar Jul 01 '20 20:07 kevmo314