mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Since setDocumentType('users', User::class) is registered on all
database instances, getDocument('users', ...) already returns User
instances. The new User($doc->getArrayCopy()) pattern was redundant
and could lose internal state managed by the database layer.
https://claude.ai/code/session_01JLPDurUgyj7qViA8JqQFTH
|
||
|---|---|---|
| .. | ||
| database | ||
| configs.php | ||
| constants.php | ||
| locales.php | ||
| models.php | ||
| registers.php | ||
| resources.php | ||
| span.php | ||