Problem/Motivation
What are we going to do in the case of POSTing with a duplicate ID that already exists? I tried this and it is not caught by the validation and gets a 500 error which makes sense because typed data doesn't have a concept of this?
Would we have to create a validator that extended \Drupal\Core\TypedData\Validation\RecursiveValidator to check for preexisting ids?
Comments
Comment #2
dawehnerComment #3
wim leersComment #4
wim leersClosely related: #2885469: Regression: manually setting the ID field for newly-created content entities is not possible anymore (public follow-up to SA-2017-002).
Comment #16
bbralaFixed in parent issue.