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
43 stars 11 forks source link

add support for fetching `defaultLanguages` using async #50

Open williamli opened 10 months ago

williamli commented 10 months ago

Is your feature request related to a problem? Please describe.

languages can be fetched with async but you can't do the same with defaultLanguages.

Describe the solution you'd like

It would be good if defaultLanguages can also be fetched with async using Sanity client.

Describe alternatives you've considered

not using defaultLanguages at all

Additional context