mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Old platform types stored in the database (e.g. flutter-web, apple-ios, react-native-android) are now mapped to the new consolidated types (web, apple, android, windows, linux) before being sent in API responses. This ensures the response models' $conditions correctly select the right model for each platform document. Adds Platform::mapDeprecatedType() as a reusable static method and applies the mapping in both Get and XList platform endpoints. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| Validator | ||
| Cors.php | ||
| Platform.php | ||