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

Scripts: Adds Stream APIs for CRUD Operations #4978

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

NaluTripician
Copy link
Contributor

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.

  • [] New feature (non-breaking change which adds functionality)

Closing issues

To automatically close an issue: closes #4951

@NaluTripician NaluTripician requested a review from a team as a code owner March 4, 2025 21:11
@NaluTripician NaluTripician removed the auto-merge Enables automation to merge PRs label Mar 5, 2025
ITrace trace,
CancellationToken cancellationToken)
{
return this.ProcessStreamOperationAsync(
Copy link
Member

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?

Copy link
Contributor Author

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.

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

Successfully merging this pull request may close these issues.

Scripts: Stream API for storedProcedure and trigger CRUD
2 participants