lblod / app-lblod-harvester

Harvesting Self Service
MIT License
1 stars 4 forks source link

Convert `langString` to `string` #43

Closed benjay10 closed 1 year ago

benjay10 commented 1 year ago

Thanks to @aliokan for providing this query.

It converts all strings tagged as a langString to a regular string. langStrings are not a conventional way to store strings, especially not when there is no language attached to it.

benjay10 commented 1 year ago

The intention is to have eventual consistency. As new decisions are harvested, old data with broken language tags are removed as new and correct data replaces it. This query will only have affect on dump files. If those dump files are used to replicate the state of harvested decisions, then these corrections happen at once.

aliokan commented 1 year ago

I approved. Thanks for your explanation :pray: