jsonresume / registry-server

This repo is deprecated in favor of https://github.com/jsonresume/registry-functions
https://github.com/jsonresume/registry-functions
MIT License
95 stars 46 forks source link

Fixes resume update as always overwriting, not merging #87

Closed Javarome closed 7 years ago

Javarome commented 7 years ago

Because resume publish performs an update into MongoDB, it actually merges what is published with the latest persistent state. This can lead to difficulties in removing properties, sections, etc.

For example, publish a resume with a "volunteer" section, then publish it again without that section, and the "volunteer" section will still remain published -- as the version without it was just merged into the persistent one.