Open dxrdxr opened 3 years ago
@dxrdxr @odata.bind is a new feature in 7.x which is still under development.
8.0, I implemented "parts" of @odata.bind. "Patch" could not be implemented yet.
I will take a look and update you later. If you can share your repro, it will be better.
AspNetCoreOData 8.0.0 latest nightly
Create an Entity that has a navigation property:
Update it using PUT:
The
PeopleController.Put
method receives as an argument the person class that includes the navigation property.Now using Patch:
The
PeopleController.Patch
method receives as an argument the person class that does NOT includes the navigation property.This raises a couple questions:
Put
orCreateRef
andDeleteRef
Put
semantics is wrong andPatch
is correct.I have not tested the 7.X behavior so I don't know if this is existing behavior.
@mikepizzo