When I use this query to pull the twins of specific models, the return does not include the $metadata.$model property. This happened all of a sudden, the $model property used to be included on the result.
QUERY:
SELECT space FROM DIGITALTWINS space JOIN level RELATED space.isPartOf WHERE space.$metadata.$model IN [ {list of models here} ] AND level.$dtId = 'levelId'
SAMPLE SPACE OBJECT returned:
{
"space": {
"$metadata": {
"name": {
"lastUpdateTime": ""
},
"externalIds": {
"lastUpdateTime": ""
}
},
"$dtId": "",
"$etag": "",
"name": "",
}
}
Also, I tried using simple queries like
SELECT * FROM DIGITALTWINS T WHERE T.$dtId = 'id'
and $metadata.$model property was there. It seems like the issue is happening only when using JOIN.
UPDATE:
I have a similar branch deployed on 2 different environments. The ADT on the environment deployed on West Europe has this issue, but the one on East US works just fine.
