- Issue created by @mlncn
- 🇨🇭Switzerland berdir Switzerland
There is the NotNull constraint, added by \Drupal\Core\TypedData\TypedDataManager::getDefaultConstraints().
There are a number of tests for this, for example \Drupal\KernelTests\Core\Entity\EntityValidationTest::checkValidation(), or \Drupal\Tests\taxonomy\Kernel\TermValidationTest::testValidation(), or rest/jsonapi tests like \Drupal\Tests\jsonapi\Functional\CommentTest::testPostIndividualDxWithoutCriticalBaseFields.
Maybe something doesn't work correctly for configurable fields, maybe something isn't set up or overrides this? You will have to investigate if you get the constraint added for your field, if it triggers and what it checks.