Skip to content

Commit

Permalink
fix(state): read without output
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka committed May 2, 2024
1 parent f63fd81 commit e1c5a50
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/State/Provider/ReadProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,6 @@ public function provide(Operation $operation, array $uriVariables = [], array $c
return null;
}

$output = $operation->getOutput() ?? [];
if (\array_key_exists('class', $output) && null === $output['class']) {
$request?->attributes->set('data', null);

return null;
}

if (null === $filters = $request?->attributes->get('_api_filters')) {
$queryString = RequestParser::getQueryString($request);
$filters = $queryString ? RequestParser::parseRequestParams($queryString) : null;
Expand Down

0 comments on commit e1c5a50

Please sign in to comment.