Skip to content

Fix deltas #1365

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

Merged
merged 12 commits into from
Dec 21, 2024
Merged

Fix deltas #1365

merged 12 commits into from
Dec 21, 2024

Conversation

mikepizzo
Copy link
Member

Fixes #1360

-only write properties in deltaset items that have been set
-support writing additional properties for deleted entities
-nested resource sets that aren't deltasets should be written w/o @delta
-factored out ODataDeletedResourceSerializer
-support writing delta payloads w/out knowing navigation source (i.e., when serializing results from a function)
Leverage more common functionality in ODataResourceSerializer.
@mikepizzo mikepizzo marked this pull request as ready for review December 3, 2024 21:15
Change ODataDeletedResourceSerializer to derive from ODataResourceSerializer
@mikepizzo mikepizzo requested a review from xuzhg December 11, 2024 00:07
xuzhg
xuzhg previously approved these changes Dec 16, 2024
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.

I leave couple comments, but overall, it looks good to me except the DI related.

…arate serializers

Add tests for deleted resources
@mikepizzo mikepizzo requested a review from xuzhg December 20, 2024 06:45
@mikepizzo mikepizzo merged commit a852d91 into main Dec 21, 2024
7 checks passed
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.

Address issues serializing a delta response payload from a function
2 participants