Passing null into constructor of EntityWrapper #354
Labels
bug
Something isn't working
needs triage
This issue needs to be investigated and confirmed as a valid
Is there an existing issue for this?
Current Behavior
After #318, it is no longer possible to pass null, as an argument for the
Entity
into the constructor of theEntityWrapper
. This is because we need to retrieve the created entity.If this breaking change was not intended, I would like to propose adding a null check.
Expected Behavior
If the Entity is null, complete the promise and respond with No Content.
Steps To Reproduce
Environment
Relevant log output
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: