You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a specific use case that I'm using, we PUT an object with a nested object to update both the parent and the children in the database. When we get a response, it'll just return the top level object by default unless we include the $expand operator
The text was updated successfully, but these errors were encountered:
I started taking a peek through the code to configure this similar to the Get( ... ) operation that currently exists and saw that there are PostOperation<T>, PutOperation<T>, and PatchOperation<T> that have been commented out with a comment //ToDo: Check ODataV4. I'm not entirely sure what problem exists where this was left like this.
Would you mind elaborating at all on this @StefH ?
Actually I don't know the full details on this code part. I think I copied this from the older project.
And I never got the chance to analyze and implement this functions.
If you have time, you can add this (if possible including unit-tests)
OData allows the ability to do something like a
POST
with an$expand
which then returns an object with an expanded property, e.g.:Request
Response
In a specific use case that I'm using, we
PUT
an object with a nested object to update both the parent and the children in the database. When we get a response, it'll just return the top level object by default unless we include the$expand
operatorThe text was updated successfully, but these errors were encountered: