mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
f315e759f3
The subQueryPlatforms database filter loads platforms as a sub-attribute when project documents are fetched. Old platform type values stored in the database (e.g. flutter-android, flutter-ios) were not being mapped to the new consolidated types before being included in the project response sent to the frontend/console. This adds Platform::mapDeprecatedType() to the filter so all platforms returned as part of a project document have their types mapped consistently, complementing the existing mapping in the dedicated platform Get and List endpoints. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>