Skip to content

Conversation

rylev
Copy link
Contributor

@rylev rylev commented Nov 30, 2020

This removes the various name traits like DatabaseName. This was adding extra boilerplate for now real benefit over just returning &str from the various methods that return names.

I consider making wrapper types around &str or String to make this more type safe but I'm not convinced that we would gain too much from it...

@rylev rylev added the Cosmos The azure_cosmos crate label Nov 30, 2020
@rylev rylev requested a review from MindFlavor November 30, 2020 18:01
Copy link
Contributor

@MindFlavor MindFlavor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent 👍 !

@rylev rylev merged commit e42a076 into Azure:master Dec 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cosmos The azure_cosmos crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants