chroma icon indicating copy to clipboard operation
chroma copied to clipboard

Validate `add` to prevent duplicate IDs.

Open levand opened this issue 1 year ago • 1 comments

Description of changes

Throw errors if the user attempts to add duplicate IDs, either via separate calls to Collection.add or the same one.

Test plan

This branch is based of #355 which contains failing tests for this functionality.

Documentation Changes

https://github.com/chroma-core/docs/pull/42

levand avatar Apr 16 '23 16:04 levand

@levand let's find time to review in person

atroyn avatar Apr 17 '23 16:04 atroyn

Reviewed in-person with @atroyn and incorporated feedback prior to merging.

levand avatar Apr 17 '23 23:04 levand