Jáchym Toušek

Results 257 comments of Jáchym Toušek

:+1: for Websocket server. Sadly I don't have enough experience with neither websockets nor swoole to help with that.

@codeliner Lemme repeat my [inquiry](https://github.com/prooph/service-bus-symfony-bundle/pull/81#issuecomment-575206067) here then... As far as I can tell Messenger can't work in async environment, making it incompatible with `prooph/event-store-client` and therefore not suitable replacement.

For now I'm using this workaround but there should be some other way in my opinion. ```yaml services: prooph_service_bus.plugin.data_collector: class: App\Library\Prooph\Infrastructure\NullPlugin ``` ```php

Note: I wrote the implementation in the gist just today as a proof of concept. I didn't even try to use is anywhere yet except the testcase. I might be...

My thoughts exactly. I'm no stranger to using wild reflection tricks like this. They need to be implemented and used carefully but can help a lot. I do intend to...

Thinking about it I could simplify it further by sending a cloned mutable version of the state into the `apply` methods and freezing it right after. WDYT? In case of...

> I would not pass a mutable version of the object into the function. Are the properties of ZipCodeState mutable or immutable? Mixing both is confusing and could lead to...

> However, there could be a flurry of new issues coming from new major versions of doctrine, starting from doctrine/dbal V3.0.0 a few weeks ago: doctrine/[email protected] (release). doctrine/orm should follow...

> Routers are AFAIK not originally designed (cc @dg) to return 403 Can't you just throw a ForbiddenRequestException? > ... but there is no way to find target handle\* method...