Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pôle IS
Bundles Symfony 2
ng-model-generator-bundle
Commits
6873ed0f
Commit
6873ed0f
authored
Apr 02, 2020
by
Guillaume Perréal
Browse files
Revert "N'utilise pas le cache pour les non-ressources."
This reverts commit
ee5cada3
.
parent
2e1f477d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/php/OperationMapper.php
View file @
6873ed0f
...
...
@@ -39,7 +39,6 @@ use Irstea\NgModelGeneratorBundle\Models\Types\Operations\Path;
use
Irstea\NgModelGeneratorBundle\Models\Types\Placeholder
;
use
Irstea\NgModelGeneratorBundle\Models\Types\Reference
;
use
Irstea\NgModelGeneratorBundle\Models\Types\Resources\Collection
;
use
Irstea\NgModelGeneratorBundle\Models\Types\Resources\Representation
;
use
Irstea\NgModelGeneratorBundle\Models\Types\Type
;
use
Irstea\NgModelGeneratorBundle\Models\Types\Union
;
...
...
@@ -184,10 +183,6 @@ final class OperationMapper
implode
(
', '
,
$callParameters
)
);
if
(
!
$returnType
->
findType
(
Representation
::
class
))
{
return
$clientCall
;
}
$opDef
=
$this
->
operation
->
getOpDef
();
if
(
$opDef
->
isGetCollection
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment