How to update dynamic zone by GraphQL mutation without loosing other data

System Information
  • Strapi Version:
  • Operating System:
  • Database:
  • Node Version:
  • NPM Version:
  • Yarn Version:

Hello,

is there a way how to update specific component in dynamic zone by GraphQL update mutation?

If I do an update, I loose other components in dynamic zone, even if I specify the id and __typename which is not wanted behaviour.

I’ve read this part of Docs but din’t find an answer.

Additional question:
Is it possible to add new components to the end of the dynamic zone (or better into specific place in the zone) without loosing old data from that dynamic zone?

Thanks

Nope every time you touch a dynamic zone you need to give it all values if you don’t give it a value it will delete the component

Hmm that’s not the best message, but thanks for the answer.

Is there maybe any other way other than GraphQL, how to update DZ without passing all the values?

Graphql has the same issue