Skip to content

Migrate https://github.com/OData/WebApi/pull/2512 to AspNetCoreOData. - #368

Merged
marabooy merged 1 commit into
masterfrom
feature/fix-enable-query
Nov 12, 2021
Merged

Migrate https://github.com/OData/WebApi/pull/2512 to AspNetCoreOData.#368
marabooy merged 1 commit into
masterfrom
feature/fix-enable-query

Conversation

@marabooy

@marabooy marabooy commented Nov 11, 2021

Copy link
Copy Markdown
Member

It seems the issue exists and was not patched in AspnetCoreOData.

https://stackoverflow.com/questions/69910220/create-custom-response-in-net-core-5-with-odata-8-controller.
Using IStatusCodeActionResult means multiple requests will be able to be checked. Users can now send JsonActionResult and other instances that implement IStatusCodeActionResult for their errors and have the errors propagated.

@marabooy
marabooy force-pushed the feature/fix-enable-query branch from e01a8a6 to fc3a263 Compare November 12, 2021 06:23
Comment thread src/Microsoft.AspNetCore.OData/Query/EnableQueryAttribute.cs Outdated

@gathogojr gathogojr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a comment, otherwise looks good

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.

3 participants