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

2 replies
Last updated: Apr 29, 2021
Does anyone know if the
_key
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
The
_key
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.io – build remarkable experiences at scale

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