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

Allow ConsistencyLevelSupport to borrow (do not take ownership) #282

Open
MindFlavor opened this issue Jun 8, 2020 · 0 comments
Open

Allow ConsistencyLevelSupport to borrow (do not take ownership) #282

MindFlavor opened this issue Jun 8, 2020 · 0 comments
Assignees
Labels
CosmosDB CosmosDB related issue enhancement ergonomics Issues about ease of use of the library

Comments

@MindFlavor
Copy link
Owner

MindFlavor commented Jun 8, 2020

Right now the trait takes ownership of the ConsistencyLevel field. This is not ideal: it might be better to accept a Into<Cow<...>> or similar.

@MindFlavor MindFlavor added enhancement CosmosDB CosmosDB related issue ergonomics Issues about ease of use of the library labels Jun 8, 2020
@MindFlavor MindFlavor self-assigned this Jun 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CosmosDB CosmosDB related issue enhancement ergonomics Issues about ease of use of the library
Projects
None yet
Development

No branches or pull requests

1 participant