In place A I'm making internal request with some data to place B. In place B there is another internal request with different data to place C. As Dingo\Api\Dispatcher is a singleton, the parameters from first request remains in instance, they are merged with data from place B and send along to place C, but in place C I only need data from B. I can't see any way to reset internal dispatcher parameters.
Expected Behaviour
Place C get only parameters from place B.
Steps to Reproduce
Make internal call with some data to endpoint which has another internal call (nested internal call).
Final controller method is getting merged data from both requests.
Actual Behaviour
In place A I'm making internal request with some data to place B. In place B there is another internal request with different data to place C. As Dingo\Api\Dispatcher is a singleton, the parameters from first request remains in instance, they are merged with data from place B and send along to place C, but in place C I only need data from B. I can't see any way to reset internal dispatcher parameters.
Expected Behaviour
Place C get only parameters from place B.
Steps to Reproduce
Possible Solutions
Allow manually reseting parameters?