Reputation: 202326
Is it possible to update entity properties corresponding to collections of primitive and complex types without sending all the content?
For example, for an entity Question that has a property tags corresponding to a list of string:
and something similar for complex types.
Such mechanism is supported for navigation properties.
Thanks very such for your help! Thierry
Upvotes: 1
Views: 1169
Reputation: 4336
Unfortunately it's not currently possible to partially update a collection property. It's something we thought about a lot and it's something we knew we would get asks for, but we just couldn't make the tradeoff work. To fully support partial updates we would need to have a way to identify individual members of a collection. This doesn't exist yet.
We are considering at least allowing the two operations (create and delete) you've suggested above in OData 4.1. See issues 615 and 616 in the OASIS issue tracker.
Upvotes: 3