I have a relatively complex getCollectionGraph call:
$workshop = array_pop($modx->getCollectionGraph('wsWorkshop',
'{
"Class":{
"SpecialInstructor":{ "Profile":{} },
"SpecialVenue":{}
},
"Instructor":{ "Profile":{} },
"Venue":{},
"Enrollment":{}
}', $_REQUEST['workshopid']));
Both "SpecialInstructor" and "Instructor" are refer to modUser objects. Unfortunately, asking for "Profile" in both "SpecialInstructor" and "Instructor" causes the query to fail. The query returns NULL. Removing either occurrence of "Profile":{} from the query allows it to return a result successfully, but of course those results aren’t as complete as I’d like.
Is this a design limitation of getCollectionGraph?