TrueBlocks / trueblocks-core

The main repository for the TrueBlocks system
https://trueblocks.io
GNU General Public License v3.0
1.04k stars 194 forks source link

Simplify Crud Processing for chifra names #3773

Closed tjayrush closed 3 weeks ago

tjayrush commented 3 weeks ago

When processing CRUD data, we overcomplicate with a Generic Value|Updated crudData type. But we should instead simply use the Name type directly, pre-load it with any existing data, and overwrite any non-empty values with the updated data. No need to check anything. Just load the existing name, overlay with new data, write the Name using a cache.