You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.
Using a dynamic zone in development (gatsby develop) works as expected, the dynamic zone field is returned as JSON.
But if I run gatsby clean and then gatsby build, an error is thrown.
The same external API is used in both cases, and the same error occurs when trying to deploy to Netlify.
ERROR #85901 GRAPHQL
There was an error in your GraphQL query:
Field "content" of type "[StrapiPageContent]" must have a selection of subfields. Did you mean "content { ... }"?
1 | query cReposcompanyGatsbysrcpagesindexJs2512124318 {
2 | strapiPage(slug: {eq: "home"}) {
3 | id
4 | slug
5 | title
> 6 | content
| ^
7 | }
8 | }
9 |
File path: C:/repos/company-gatsby/src/pages/index.js
Plugin: none
This is what the cached schema looks like:
type StrapiPage implements Node @dontInfer {
content: JSON
title: String
order: Int
slug: String
published_at: Date @dateformat
created_at: Date @dateformat
updated_at: Date @dateformat
strapiId: Int
}
Granted, I am running the Gatsby v4 beta, as the older version (much like strapi) will be losing support soon after v4 goes live.
The text was updated successfully, but these errors were encountered:
Using a dynamic zone in development (gatsby develop) works as expected, the dynamic zone field is returned as JSON.
But if I run gatsby clean and then gatsby build, an error is thrown.
The same external API is used in both cases, and the same error occurs when trying to deploy to Netlify.
This is what the cached schema looks like:
Granted, I am running the Gatsby v4 beta, as the older version (much like strapi) will be losing support soon after v4 goes live.
The text was updated successfully, but these errors were encountered: