New API request to replace map key/value pair #18
Labels
contributions-welcome
Contributions welcome to help resolve this (the resolution is expected to be clear from the issue)
type-enhancement
A request for a change that isn't a bug
I'd love an API (
replaceMapEntry
?) to replace an entire key/value pair:The current methods for doing this don't work well for us:
bar
, removefoo
: results in conflicting SourceEdit offsets.foo
, add/updatebar
: results in a flow-style map:analyzer: {foo: false}
.I'd be happy to contribute this API!
The text was updated successfully, but these errors were encountered: