Since the last version we can't publish empty string or null as a payload we will get the following error :
Message: Typed property Basis\Nats\Message\Msg::$payload must not be accessed before initialization
File: /opt/project/BACKEND/vendor/basis-company/nats/src/Client.php
Line: 344
Trace: #0 /opt/project/BACKEND/vendor/basis-company/nats/src/Client.php(323): Basis\Nats\Client->onMessage(Object(Basis\Nats\Message\Msg), true)
Hello
Since the last version we can't publish empty string or null as a payload we will get the following error :
Thanks for the work for this library :)