-
Notifications
You must be signed in to change notification settings - Fork 504
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
Scripts: Adds Stream APIs for CRUD Operations #4978
base: master
Are you sure you want to change the base?
Conversation
ITrace trace, | ||
CancellationToken cancellationToken) | ||
{ | ||
return this.ProcessStreamOperationAsync( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IMO layering types over stream might be a better idea
It will help us catch any gaps in stream API's (assuming the typed API's have sufficient coverage), thoughts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Currently the ProcessStreamOperationAsync is used in the typed APIs, the only different is there is an intermediary method that does the link uri creation, then calls this method, then converts it into the correct response type. The current Stream API methods create the link then call the ProcessStreamOperationAsync method, skipping the ResponseFactory call.
Microsoft.Azure.Cosmos/src/Resource/Scripts/ScriptsInlineCore.cs
Outdated
Show resolved
Hide resolved
….com/Azure/azure-cosmos-dotnet-v3 into users/nalutripician/ScripsStreamAPIs
Pull Request Template
Description
Adds new Stream APIs for CRUD operations on stored procedures, triggers, and user defined functions in the
Scripts
namespace.Type of change
Please delete options that are not relevant.
Closing issues
To automatically close an issue: closes #4951