The GraphQL API has been updated
In Strapi 5, the GraphQL API has been updated. It handles the new, flattened response format (see related breaking change), and can also now accept Relay-style queries.
Flat queries still return a simple array of documents. You can also use Relay-style *_connection
queries, which return nodes
and a pageInfo
object to handle pagination. Use these when you need metadata about pages or total counts.
This page is part of the breaking changes database and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.
Is this breaking change affecting plugins?Yes
Is this breaking change automatically handled by a codemod?No