|
|
@ -46,12 +46,10 @@ namespace Squidex.Infrastructure.Queries |
|
|
{ |
|
|
{ |
|
|
var path = string.Join('.', pathStack.Reverse()); |
|
|
var path = string.Join('.', pathStack.Reverse()); |
|
|
|
|
|
|
|
|
var schema = field.Schema; |
|
|
var schema = field.Schema with |
|
|
|
|
|
|
|
|
if (schema.Fields != null) |
|
|
|
|
|
{ |
|
|
{ |
|
|
schema = schema with { Fields = null }; |
|
|
Fields = null |
|
|
} |
|
|
}; |
|
|
|
|
|
|
|
|
result?.Add(field with { Path = path, Schema = schema }); |
|
|
result?.Add(field with { Path = path, Schema = schema }); |
|
|
} |
|
|
} |
|
|
|