Closed Druid33 closed 3 years ago
Thnx @Druid33 Can you add a few tests for this as well?
Related to: https://github.com/phalcon/cphalcon/pull/14834
ok, I try to find some time :)
Thnx @Druid33 Can you add a few tests for this as well?
Related to: phalcon/cphalcon#14834
Hi, finally i write test i promise a year ago...hope it will be enough.
@Druid33 Thanks!
Without this change its not possible fill content to request body using
_request()
method.I add some more info:
I had problem set json content to _request() method. After some research, diging into code i realize, it is not possible replace shared service with other shared service. One can replace shared service only with non-shared service.
Its not possible change shared service with "array' notation like this:
Using "array" notation you only change service definition. but if shared service is resolved before, changing definition has not effect on next geting service