We should include maniphestTaskPHIDs into differential.query results.
Can we add something like this to DifferentialQueryConduitAPIMethod class?
$maniphest = 'PhabricatorManiphestApplication'; $maniphest_installed = PhabricatorApplication::isClassInstalled($maniphest); // <...> if ($maniphest_installed) { $taskPHIDs = PhabricatorEdgeQuery::loadDestinationPHIDs( $revision->getPHID(), DifferentialRevisionHasTaskEdgeType::EDGECONST); $tasks_key = id(new DifferentialManiphestTasksField)->getFieldKeyForConduit(); $result[$tasks_key] = $taskPHIDs; }
Or we need something "smarter"?