Mathieu Viau
Mathieu Viau
I ended up not using the ApplyDefaultsStrategy, but managed to add a "properties" listener that does what I want. Here is what it looks like: ``` class DefaultValuesWalkListener implements JsonSchemaWalkListener...
https://github.com/openswoole/openswoole/pull/75
Reproductible minimal example: ``` OpenSwoole\Runtime::HOOK_ALL]); $config = (new MysqliConfig()) ->withHost(getenv('DB_APP_READ_HOST') ?: 'defaulthost') ->withUsername(getenv('DB_APP_READ_USER') ?: 'defaultuser') ->withPassword(getenv('DB_APP_READ_PASS') ?: 'defaultpass') ->withCharset(getenv('DB_APP_READ_CHARSET') ?: 'utf8mb4') ->withDbname(getenv('DB_APP_READ_DBNAME') ?: 'defaultdb') ->withPort((int) getenv('DB_APP_READ_PORT') ?: 3306); $server =...
```# php --ri openswoole openswoole Open Swoole => enabled Author => Open Swoole Group Version => 25.2.0 Built => Feb 4 2025 11:49:27 coroutine => enabled with boost asm context...
Some stacktrace: ``` sendto(22, "\t\0\0\0\3SELECT 1", 13, 0, NULL, 0) = 13 recvfrom(22, "\1\0\0\1\1\27\0\0\2\3def\0\0\0\0011\0\f?\0\2\0\0\0\10\201\0\0\0\0"..., 32768, 0, NULL, NULL) = 56 epoll_pwait(15, [], 4096, 969, NULL, 8) = 0 epoll_pwait(15, [],...
Got a similar issue with some methods missing explicit return types.
I don't think this is fix, is there a plan for completing the implementation?