Skip to content

Commit

Permalink
Compatibility with GraphQL 4 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron Carlino committed Jan 27, 2021
1 parent ebb4c8f commit b6cab40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/GraphQL/Operations/CopyToStageCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function createOperation(
return ModelMutation::create($model, $mutationName)
->setType($typeName)
->setPlugins($plugins)
->setDefaultResolver([VersionedResolver::class, 'resolveCopyToStage'])
->setResolver([VersionedResolver::class, 'resolveCopyToStage'])
->addResolverContext('dataClass', $model->getSourceClass())
->addArg('input', 'CopyToStageInputType!');
}
Expand Down

0 comments on commit b6cab40

Please sign in to comment.