mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
98f6ca347f
Replaces \$utopia->match(\$request) calls in the project, team, and auth resolvers with the per-request RouteMatch injected directly via DI: - app/init/resources/request.php — project / team resource closures now declare 'match' as a dependency and read \$match?->route. - app/controllers/shared/api/auth.php — auth init hook injects 'match' instead of resolving via \$utopia. - app/controllers/shared/api.php — drop the redundant re-match in the storage cache init hook; \$route from the action's \$match inject is already in scope. Only Resolvers::resolve still calls \$utopia->match(...) — that path genuinely matches a synthesized sub-request URL. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>