strapi collection types in gatsby missing

strapi collection types in gatsby missing


0

I have created some single types and som collection types in strapi. In my gatsby project, in the the gatsby-config.js file, I have placed the names of the single types and the collection type.

collectionTypes: ['heronodes'],
singleTypes: ['message', 'intro', 'hero', 'footer'],

I can see all the single types in the graphql playground in gatsby, but none of the collection type nodes are visible in the graphql explorer.

I have checked the proper permissions for the collection type heronode and tested the api in the browser on https://localhost:1337/api/heronodes and I am getting a proper result set.

Share
Improve this question


Load 6 more related questions


Show fewer related questions

0

Reset to default



Browse other questions tagged

or ask your own question.

Leave a Reply

Your email address will not be published. Required fields are marked *