mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
chore: rename Adapter::getContainer() call to getContext()
Upstream removed Adapter::getContainer() in favor of a single public reader Adapter::getContext(): Container that returns the container for the current execution context (per-request inside a request, global outside one). Migration is a one-line rename. The only call site was the installer's bootstrap, which runs at boot and therefore receives the global container — same semantics as before. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
d47cf5a558
commit
9bee79fb76
Generated
+4
-4
@@ -4275,12 +4275,12 @@
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/utopia-php/http.git",
|
||||
"reference": "2e2c19aef535b1f9241bb5c9e1bf9811a11ec3d2"
|
||||
"reference": "e26b1a995f01b136ec88f6f2fd34811188b627cc"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/utopia-php/http/zipball/2e2c19aef535b1f9241bb5c9e1bf9811a11ec3d2",
|
||||
"reference": "2e2c19aef535b1f9241bb5c9e1bf9811a11ec3d2",
|
||||
"url": "https://api.github.com/repos/utopia-php/http/zipball/e26b1a995f01b136ec88f6f2fd34811188b627cc",
|
||||
"reference": "e26b1a995f01b136ec88f6f2fd34811188b627cc",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -4323,7 +4323,7 @@
|
||||
"issues": "https://github.com/utopia-php/http/issues",
|
||||
"source": "https://github.com/utopia-php/http/tree/fix/concurrency-shared-state"
|
||||
},
|
||||
"time": "2026-04-28T15:13:55+00:00"
|
||||
"time": "2026-04-28T15:24:50+00:00"
|
||||
},
|
||||
{
|
||||
"name": "utopia-php/image",
|
||||
|
||||
@@ -154,7 +154,7 @@ class Server
|
||||
|
||||
$nativeServer = $adapter->getNativeServer();
|
||||
|
||||
$container = $adapter->getContainer();
|
||||
$container = $adapter->getContext();
|
||||
$container->set('installerState', fn () => $state);
|
||||
$container->set('installerConfig', fn () => $config);
|
||||
$container->set('installerPaths', fn () => $paths);
|
||||
|
||||
Reference in New Issue
Block a user