sanity-io / document-internationalization

Create unique translations of a document based on its language, joined by a shared reference document
MIT License
131 stars 38 forks source link

feat: exclude fields from duplication #173

Closed thebiggianthead closed 7 months ago

thebiggianthead commented 7 months ago

This PR adds the ability to exclude certain fields when a document is duplicated. It takes the current doc and it's schema definition to find which field paths should be removed, before doing just that.