Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the various Name traits #107

Merged
merged 1 commit into from
Dec 1, 2020
Merged

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
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