Skip to content

Instantly share code, notes, and snippets.

@eerohakio
Created August 17, 2022 06:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eerohakio/1e4add9c9c648d3be99ccc03b7e1fe67 to your computer and use it in GitHub Desktop.
Save eerohakio/1e4add9c9c648d3be99ccc03b7e1fe67 to your computer and use it in GitHub Desktop.
--- a/Controller/Rest/Asynchronous/InputParamsResolver.php 2022-03-08 02:52:02.000000000 +0200
+++ b/Controller/Rest/Asynchronous/InputParamsResolver.php 2022-08-17 08:48:41.000000000 +0300
@@ -113,12 +113,13 @@
$this->requestValidator->validate();
$webapiResolvedParams = [];
+ $inputData = $this->getInputData();
$route = $this->getRoute();
$routeServiceClass = $route->getServiceClass();
$routeServiceMethod = $route->getServiceMethod();
$this->inputArraySizeLimitValue->set($route->getInputArraySizeLimit());
- foreach ($this->getInputData() as $key => $singleEntityParams) {
+ foreach ($inputData as $key => $singleEntityParams) {
$webapiResolvedParams[$key] = $this->resolveBulkItemParams(
$singleEntityParams,
$routeServiceClass,
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment