Skip to content
This repository has been archived by the owner on Nov 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #10 from wakeapp/HUB-369
Browse files Browse the repository at this point in the history
[HUB-369] accept request parameters in ApiDtoFactory
  • Loading branch information
kryakozyablik committed Sep 11, 2020
2 parents 53c849d + a71c09f commit de1a6b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
## [2.0.10] - 2020-09-10
### Changed
- Accept request parameters in `ApiDtoFactory::getRequestDataByMethod()`

## [2.0.9] - 2020-09-04
## Patch
### Patch
- Updated `wakeapp/swagger-resolver-bundle` to the `^0.4.8`.

## [2.0.8] - 2020-09-04
## Patch
### Patch
- Added Symfony 5 support.
- Updated `wakeapp/swagger-resolver-bundle` to the `^0.4.7`.
- Updated `wakeapp/dto-resolver` to the `^1.1`
Expand Down
2 changes: 1 addition & 1 deletion Factory/ApiDtoFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,6 @@ private function getRequestDataByMethod(ApiRequest $request): array
return $data + $request->query->all();
}

return $data + $request->body->all();
return $data + $request->body->all() + $request->request->all();
}
}

0 comments on commit de1a6b8

Please sign in to comment.