đŸ”® Sanity Create is here. Writing is reinvented. Try now, no developer setup

Is the _key of an array item unique across the document type?

2 replies
Last updated: Apr 29, 2021
Does anyone know if the
of an array item is unique across the document type (as opposed to the document)? https://www.sanity.io/docs/array-type#92296c6c45ea
Apr 29, 2021, 2:04 PM
only needs to be unique within the array itself, so I imagine that’s the way Sanity implements key assignment, too.
Apr 29, 2021, 2:09 PM
Ah I see, that makes sense, thanks!
Apr 29, 2021, 2:11 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?