p2panda / handbook

Website with tutorials, specification, info and learn sections of p2panda
https://p2panda.org
Creative Commons Attribution Share Alike 4.0 International
87 stars 8 forks source link

Update graphql tutorial examples to use 'document' subobject #278

Closed dantescanline closed 1 year ago

dantescanline commented 1 year ago

The example graphql blocks in the first two tutorials were missing document { } wrappers that seem to be standard now. Otherwise you get graphql errors when following along.

adzialocha commented 1 year ago

Oh ja, thanks for pointing that out! Good reminder that we should not merge incremental changes directly to main 😅

We are in the midsts of a larger GraphQL feature implementation with a nice new filtering, pagination, sorting API and both the specification and tutorials are outdated.

The final API will actually call that field documents as soon as this last PR (https://github.com/p2panda/aquadoggo/pull/311) is merged. Then we will start updating all docs 👍🏻

dantescanline commented 1 year ago

Okay chill i'll close this for now then if it's gonna get replaced soon anyways

sandreae commented 1 year ago

I'll hopefully start on this task this week :wave: