Are the proxy objects that sit at the top of a root model object able to be queried with the graphql api? I have a root model object with proxies for levels, materials, and instances, and all of their references sit in the elements field. Assuming that the proxies are included in the children of that object, I’m running the command like dis:
query getProxies($projectId: String!, $refId: String!, $proxyQuery: [JSONObject!]) {
project(id: $projectId) {
object(id: $refId) {
children(query: $proxyQuery){
objects {
id
data
}
}
}
}
}
I’ve tried a few types of queries to target different patterns of the proxy object, but I can’t seem to grab it… even if I set the id of the object.
"proxyQuery": [
{
"field": "id",
"value": "Objects.Other.LevelProxy",
"operator": "="
}
These models are quite large so I was trying to see if I could grab just the proxies info as a way to get a sample of the model and provide some necessary meta data that is needed in other parts of infrastructure.