appwrite/app/controllers/shared
Claude 42414a46b0
fix: address review comments for User class pattern
- general.php: add instanceof guard in error handler to prevent calling
  isPrivileged() on a plain Document if getResource('user') returns
  an unexpected type
- graphql.php: add setUser() calls on request/response in graphql group
  init so sensitive field filtering works correctly for GraphQL routes
- api.php: fix session group init type hint from Document to User for
  consistency with all other init blocks

https://claude.ai/code/session_01JLPDurUgyj7qViA8JqQFTH
2026-03-26 02:48:02 +00:00
..
api refactor: convert User::isApp() and User::isPrivileged() from static to instance methods 2026-03-26 02:47:56 +00:00
api.php fix: address review comments for User class pattern 2026-03-26 02:48:02 +00:00