Skip to content

Issue when trying to handle batch request in minimal api. #55008

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

Closed
Bellgrad opened this issue Apr 8, 2024 · 2 comments
Closed

Issue when trying to handle batch request in minimal api. #55008

Bellgrad opened this issue Apr 8, 2024 · 2 comments
Labels
area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. Status: Resolved

Comments

@Bellgrad
Copy link

Bellgrad commented Apr 8, 2024

The issue

I'm trying to handle multiple requests in batch with the new minimal api as do OData, and the same way MsGraph is doing it (https://learn.microsoft.com/en-us/graph/json-batching).

Constraints

In my current context, I can't use Odata.
So I'm searching for a way with the current documentation in .NET8 for minimal apis to handle batches (not bulk request with arrays).

Attempts

I didn't find what I was looking for, so I'm guessing there is actually no feature regarding batching multiple requests natively.

Questions

Is there a solution ?
Can it be usefull to the community to have such a feature ?

@ghost ghost added the area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc label Apr 8, 2024
@captainsafia
Copy link
Member

We don't support JSON Patch by default in minimal APIs. This is tracked over at (#35237). You may consider using another open source library for this.

@captainsafia captainsafia added the ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. label Apr 30, 2024
@captainsafia captainsafia added this to the Backlog milestone Apr 30, 2024
Copy link
Contributor

This issue has been resolved and has not had any activity for 1 day. It will be closed for housekeeping purposes.

See our Issue Management Policies for more information.

@dotnet-policy-service dotnet-policy-service bot removed this from the Backlog milestone May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-minimal Includes minimal APIs, endpoint filters, parameter binding, request delegate generator etc ✔️ Resolution: Answered Resolved because the question asked by the original author has been answered. Status: Resolved
Projects
None yet
Development

No branches or pull requests

2 participants