I can't figure out what I am missing for sourcing Rich text fields from Strapi. Also I am sorry if this isn't a plugin bug, I'll post in on StackOverflow otherwise.
I just started a new Gatsby blog with the official starter. Then I followed the instructions to source Gatsby with Strapi.
Creating a basic Collection Type with a simple text field
Creating a new Entry for that Collection Type
Giving access find and findOne to PUBLIC users
Generating a public API Token
Updating gatsby-config as the following (for testing purpose I made it the bad way without .dotenv) :
Problem was that gatsby-transformer-remark also contains the Strapi nodes ; nodes which doesn't contain the Slug field used in the query in gatsby-node.js.
Hi,
I can't figure out what I am missing for sourcing Rich text fields from Strapi. Also I am sorry if this isn't a plugin bug, I'll post in on StackOverflow otherwise.
I just started a new Gatsby blog with the official starter. Then I followed the instructions to source Gatsby with Strapi.
and
See gatsby-config.js.txt
Everything looks fine as I can see the my collection nodes in Graphql.
Now, I add a Rich Text field in 'my-collection-type' :
This makes Gatsby crash
See log.txt
However, I can see my Collection type in GraphiQL :
I saw some explanations about Rich text fields on the plugin documentation, but I am unsure of what to do with it.
Also here is my config :
Would anyone have an hint for me ?
Thank you, Grégoire