kalisio / krawler

A minimalist (geospatial) ETL
https://kalisio.github.io/krawler/
MIT License
54 stars 13 forks source link

Add an option to avoid transforming Json objects in place #144

Closed claustres closed 3 years ago

claustres commented 3 years ago

Now any transform operation containing eg an omit option will update the underlying objects in place. This might not be the desired behaviour when the transformation occurs as part of a write hook like writeMongoCollection. In that specific case the user might want to write the transformed version while keeping the original one in memory.