0:28:36
Adding a GraphQL API to Wagtail
Wagtail Space US 2022 · March 30, 2022
Patrick Arminio explains how GraphQL can expose Wagtail content, contrasting its single, typed query endpoint with REST’s potential under-fetching and over-fetching. He demonstrates building schemas with Strawberry, mapping Wagtail and Django models, defining custom scalars such as HTML, and representing StreamField content as typed unions.…