Fix for $blueprint->flattenData() on list properties

This commit is contained in:
Matias Griese
2021-02-09 20:35:53 +02:00
parent feee0e62cc
commit 92fdaed81b

View File

@@ -116,7 +116,7 @@ class BlueprintSchema extends BlueprintSchemaBase implements ExportInterface
if ($includeAll) {
foreach ($this->items as $key => $rules) {
$type = $rules['type'] ?? '';
if (!str_starts_with($type, '_')) {
if (!str_starts_with($type, '_') && !str_contains($key, '*')) {
$list[$key] = null;
}
}