Dynamic zones Strapi & Gatsby

Hi i have a prolem using Dnamic Zones with strapi and Gatsby. There is an error when i do not have all components added to dynamic zone. Gatsby do not see them and throws error in graphql when trying to query

... on STRAPI__COMPONENT_SECTION1 {...}
}```
Any ideas?

<i>This topic has been created from a Discord post (1247541234143072346) to give it more visibility.
It will be on Read-Only mode here.
<a href="https://discord.com/channels/811989166782021633/1247541234143072346/1247541234143072346">Join the conversation on Discord</a></i>

having the same issue, did you found any workarounds?

Yes i used this package to make snaphot of data.
gatsby-plugin-schema-snapshot

You need to make one entry with all elements of dynamic zone. Then make a snapshot and delete this temporary data. Then everything works fine :smiling_face:

Thanks, did it with a plugin that generates the schema!