Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
V2 2.0.11
-
None
-
None
Description
Client use case:
EntityProvider.writeEntry(resultContentType,entitySet, postData, properties)
Currently, to POST a new entry where the ID is server generated we can set the contentOnly flag to true.
But if contentOnly flag is true, navigationProperties are skipped and only additionallinks are written.
This is preventing us from performing deep inserts where the related entity also have IDs that are server generated.
Can we create an option where navigation properties can still be written if contentOnly is set to true?
An example of the JSON that we are trying to create:
{ "Name": "Base Level", "Child": { "results": [ "Name": "Level 1", "Grandchild": { "results": [ "Name": "Level 2" } ] } } ] } }