mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
93e96a044d
The resources/context migration replaced the resolver closure with a first-class callable from `$swoole->context()->get(...)`. That captures the result of `$swoole->context()` once -- on the first dispatch -- and binds the bus to the first request's per-request container forever after. Wrap the lookup in a fresh closure so each dispatch re-resolves `context()` against the current Swoole coroutine. Restores the behavior of the pre-migration `getContainer()` form. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>