Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the example to show json decoding #55

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

simobiggs
Copy link

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.

@kevmo314
Copy link

kevmo314 commented Jul 1, 2020

+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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants