fix(Symfony): canWrite guessing in WriteListener
| Q | A |
|---|---|
| Branch? | 3.3 |
| Tickets | Closes #6501 |
As explained in the issue, in version 3.3 : a Get operation using a Controller is always calling the WriteProcessor after the Controller is called, which causes an "Invalid identifier or value configuration" if you are using another identifier.
Example :
new Get(
output: SomethingOutput::class,
provider: SomethingProvider::class,
)
A simple operation like this calls the WriteProcessor.
Let's start again @Fabrn I'd like to get this fixed, what should we do? Adding uriVariables fixed your issue?
Hello 🙂
For the moment, we chose to keep the 3.2 version so our previous code would still work as intended, for time saving reasons. Sadly, I cannot confirm if this problem would have been solved for now.
However, even if I would resolve it using uriVariables, the thing is that a behavior has been broken on 3.3 and that's why I think it should be resolved. If we tell me that this is intended, well I guess we're fine and there's nothing to be fixed 😄