-
Notifications
You must be signed in to change notification settings - Fork 475
Delta does not allow UpdatableProperties to be changed #2483
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
Conversation
@xuzhg, @habbes, @KenitoInc, @gathogojr Could you give this another review? |
test/UnitTest/Microsoft.AspNet.OData.Test.Shared/PublicApi/PublicApiTest.cs
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
@dxrdxr Any particular reason you opted to substitute |
@gathogojr I was getting warnings in VS about the code style, which is inconsistent within the file. So I normalized it for consistency and code hygiene. The project really should have a .editorconfig in the root of the directory tree to enforce a common code style. |
Issues
This pull request fixes #2478
Description
Adds a new settable property
UpdatableProperties
that allows the developer to change the list of updatable properties (_updatableProperties
) after construction. This enables the developer to easily control which properties are updated inPatch
andPut
to prevent the caller from over-posting.Checklist (Uncheck if it is not completed)
Additional work necessary
Docs Needed: