|
//RWM: Other entities are not allowed in the payload until we support Delta payloads. |
|
if (value is EdmEntityObject entityObj) |
|
{ |
|
// TODO: RWM: Turn this message into a language resource. |
|
throw new StatusCodeException(HttpStatusCode.BadRequest, "Navigation Properties were also present in the payload. Please remove related entities from your request and try again."); |
|
} |
I want to create a few entities (1to1 relation) in a request. So I need to use it.
Or I want to use navigation post in a batch request.
Either's fine, However both ways are not supported.
May you check it if I create PR?
Or, Do you already have any plan and you cannot accept the feature?
RESTier/src/Microsoft.Restier.AspNet/Extensions/Extensions.cs
Lines 94 to 99 in 301b64c
I want to create a few entities (1to1 relation) in a request. So I need to use it.
Or I want to use navigation post in a batch request.
Either's fine, However both ways are not supported.
May you check it if I create PR?
Or, Do you already have any plan and you cannot accept the feature?