Skip to content
This repository has been archived by the owner on Oct 18, 2021. It is now read-only.

Refactor BulkOperation #152

Open
CCheSumo opened this issue Jan 23, 2018 · 0 comments
Open

Refactor BulkOperation #152

CCheSumo opened this issue Jan 23, 2018 · 0 comments

Comments

@CCheSumo
Copy link
Contributor

CCheSumo commented Jan 23, 2018

Currently, We have one API for BulkOperation and we construct different requests based on the operation type. The api gets awkward when supply different configurations for different bulk operations, e.g. the retryOnConflictOpt, upsertOpt for update operations.

When breaking changes are allowed, we should refactor this to BulkOperation as a trait, and break the implementations down to BulkUpdateOperation,BulkCreateOperation,BulkDeleteOperation etc.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant