OData / AspNetCoreOData

ASP.NET Core OData: A server library built upon ODataLib and ASP.NET Core

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`ODataBatchMiddleware` documentation doesn't mention `ODataBatchHandler` requirement

julealgon opened this issue · comments

Assemblies affected
N/A

Describe the bug
The documentation about the batch middleware here:

Has no mention of the required ODataBatchHandler setup that needs to happen in the AddRouteComponents call. Combined with lack of details when the handler is not provided, this makes debugging much harder than needed.

Reproduce steps
N/A

Data Model
N/A

EDM (CSDL) Model
N/A

Request/Response
N/A

Expected behavior
The documentation should help devs land on the pit of success. Just calling UseODataBatching is currently not enough to have batch working properly.

Screenshots
N/A

Additional context
Related: