Closed gmaclennan closed 7 years ago
What do you think about just having fields.v
set to opts.value
directly? This makes it more versatile for the future.
That makes sense to me. I'm not sure about @substack's original motivation for choosing this API.
Can you also update the osm.del()
calls we make to set opts.value.changeset
?
Let's nix this PR and update osm-p2p-db#del()
to accept a value
on deletions, just like PUTs, like we discussed in meatspace.
closing in favour of https://github.com/digidem/osm-p2p-db/pull/46
@noffle could you review and add a test here (see the failing test in osm-p2p-server https://github.com/digidem/osm-p2p-db/compare/changeset-deletions) attempts to fix #34