mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
196c76ac70
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>