Skip to content

Commit 245827e

Browse files
committed
Merge remote-tracking branch 'origin/1.9' into 2.0
2 parents 5179bcf + 703f13a commit 245827e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Controller/WebserviceController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public function webonyxAction(
168168
$query = $input['query'] ?? '';
169169

170170
try {
171-
$rootValue = [];
171+
$rootValue = null;
172172

173173
$validators = null;
174174

src/GraphQL/Mutation/MutationType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,7 @@ public function buildDataObjectMutations(&$config = [], $context = [])
628628
$newInstance->setType($args['type']);
629629
}
630630

631-
$resolver = $me->getUpdateObjectResolver($processors, $localeService, $newInstance, $me->omitPermissionCheck);
631+
$resolver = $me->getUpdateObjectResolver($processors, $localeService, $newInstance, true);
632632

633633
$returnValue = call_user_func_array($resolver, [$value, $args, $context, $info]);
634634
if (isset($returnValue['success']) === true &&

0 commit comments

Comments
 (0)