ipfs / ipfs/go-ipld-cbor

Does it make sense to include an `Add` method for adding a new key/value to an existing object?

Open
#73 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
37
Forks
26
PR merge metrics
No merged PRs in 30d

Description

Currently I have to convert the cbor node to JSON, then modify the doc as a interface{}, then create a byte reader and pass it back to `.FromJSON()` to get a new cbor node.

Would it make sense to include an `Add()` method so I can make my change without all the conversions?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.