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

fix deltaset serialization issues #915

Merged

Conversation

ElizabethOkerio
Copy link
Contributor

@ElizabethOkerio ElizabethOkerio commented May 10, 2023

This PR adds support for serializing a DeltaSet in 8.X.. There are some erros that get thrown when serializing a DeltaSet.

Writing the nested resources in a DeltaSet was not supported. I have added logic to support that. I have added a method called WriteDeltaNavigationPropertiesAsync that has logic for serializing nested resources in a DeltaSet.

Another issue that was there is that we were not getting the EdmType correctly of a DeltaSet type. There was no logic for checking whether the type we are serializing is an IDelta or not. Have added those checks.

@ElizabethOkerio ElizabethOkerio force-pushed the fix/deltaset_serialization_issues branch 4 times, most recently from 1460bb1 to 9bacb76 Compare May 17, 2023 08:55
@ElizabethOkerio ElizabethOkerio force-pushed the fix/deltaset_serialization_issues branch from e9ac262 to 053c029 Compare May 22, 2023 07:35
@ElizabethOkerio ElizabethOkerio force-pushed the fix/deltaset_serialization_issues branch from 053c029 to eaaa69c Compare May 22, 2023 07:37
Copy link
Contributor

@gathogojr gathogojr left a comment

Choose a reason for hiding this comment

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

Left a minor comment otherwise LGTM!

@ElizabethOkerio ElizabethOkerio merged commit ea4e79c into OData:main May 23, 2023
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