protected function getNullableDataModel($type, $shallow, $object, ...$properties)
    {
        $object = $this->getNullable($object, ...$properties);
        if ($object == null) {
            return null;
        }

        return $this->getDataModel($object, $type, $shallow);
    }