-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
I have an array projection in containerVendor to containerRepository, which has a query on containerImage
POST /rest/data/find/containerVendor
"projection": [
{
"field": "repositories",
"include": true,
"match": "$and": [
{
"field": "published",
"op": "=",
"rvalue": true
},
{
"field": "images.*.published",
"op": "=",
"rvalue": true
}
],
"projection": {
"field": "repository",
"include": true,
"recursive": true
}
}
],
Lightblue throws following exception:
rest/FindCommand/containerVendor/find(containerVendor:null)/images\",\"errorCode\":\"metadata:InvalidFieldReference\",\"msg\":\"images in images.*.repositories.*.published\"}
The error message is also misleading:
It should be something like:
containerVendor.repositories->containerRepository.images->containerImage.repositories.published
Metadata
Metadata
Assignees
Labels
No labels