sanity-io / sanity-plugin-internationalized-array

A plugin to register array fields with a custom input component to store field values in multiple languages, queryable by using the language ID as an array `_key`.
MIT License
45 stars 11 forks source link

fix: prevent an unnecessary patch to set default languages on document #78

Closed azaxarov closed 2 months ago

azaxarov commented 2 months ago

It appears that the behaviour of _createdAt field has changed, meaning that the value is always undefined until a document is published. Essentially, this new behaviour breaks the existing logic to set default languages when creating a new document.

This has been earlier fixed here and further discussed here.