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

Self-link not strictly required #5

Closed
jcormont opened this issue Dec 7, 2016 · 1 comment
Closed

Self-link not strictly required #5

jcormont opened this issue Dec 7, 2016 · 1 comment

Comments

@jcormont
Copy link
Owner

jcormont commented Dec 7, 2016

For e.g. deleting a document, currently the API uses the _self property to get a unique document URL. This is not strictly required, since the id property can be used to construct an alternative URL as well.

See https://azure.microsoft.com/en-us/blog/azure-documentdb-bids-fond-farewell-to-self-links/

This opens up possibilities to overload or write alternative delete/update methods that use the id only, which makes things much simpler in some cases.

@jcormont
Copy link
Owner Author

Implemented in v.1.0.0.

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

No branches or pull requests

1 participant