Closed djmtype closed 2 years ago
@jaydanurwin Looking at lib/api.js
, it looks like you're converting this over from GraphQL to GROQ?
Looking further at your video, https://youtu.be/-jAWLTfsSQw?t=424, it appears that way.
Thanks for tutorial and saving the GraphQL version as a separate branch!
Closing this as the main branch has moved over to GROQ, GRAPHQL branch will stick around for those who still want to use it
For some odd reason, the author isn't showing up on the single post. BTW, authors are published with title, slug and bio.
The GraphQL schema appears right:
JSON returned:
All other fields are displaying just fine.
Using Astro 0.22.1 and Sanity CLI 2.26.0