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

Update ODL version #1253

Merged
merged 1 commit into from
Jun 4, 2024
Merged

Update ODL version #1253

merged 1 commit into from
Jun 4, 2024

Conversation

ElizabethOkerio
Copy link
Contributor

@ElizabethOkerio ElizabethOkerio commented Jun 3, 2024

Updated the ODL version to 8.0.0-preview.3. Since 8.0.0-preview.3 had some breaking changes, I've also made some updates like:

  1. Getting rid of the IContainerBuilder and using Microsoft.Extensions.DependencyInjection instead.
  2. Removed references to ODataSimplifiedOptions and used ODataMessageReaderSettings instead since we got rid of this class in ODL 8.0.0-preview.3
  3. I've also made changes to ODataError's ErrorCode to Code and the way the ODataInnerError is initialized from new ODataInnerError { Message = ConvertModelStateErrors(modelStateError) }; to new Dictionary<string, ODataValue> { { "Message", new ODataPrimitiveValue(ConvertModelStateErrors(modelStateError)) } });

This PR also updates Microsoft.AspNetCore.OData version to 9.0.0.preview-1

Copy link
Member

@xuzhg xuzhg left a comment

Choose a reason for hiding this comment

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

The change is straightforward and looks good to me

@ElizabethOkerio ElizabethOkerio merged commit 80f273f into dev-9.x Jun 4, 2024
4 checks passed
anasik pushed a commit to anasik/AspNetCoreOData that referenced this pull request Oct 28, 2024
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.

4 participants