-
Notifications
You must be signed in to change notification settings - Fork 189
Description
π Reproduction steps
Call Health endpoints directly (for example, in Postman) β ttps://cloud.appwrite.io/v1/health/cache Make sure that the name, ping, and status fields are present and filled in the response body.
In a project with Dart SDK (dart_appwrite-18.1.0), execute code similar to runHealthChecks()
I made some changes in Dart, because otherwise an error would occur: type 'Null' is not a subtype of type 'int'
(Separately) Repeat in a similar manner via .NET SDK β the same behavior is observed.
π Expected behavior
When calling health.getDB() and health.getCache(), the SDK should return HealthStatus objects with the name, ping, and status fields filled in.
π Actual Behavior
in Dart and .NET SDK (maybe in all sdk) When deserializing SDK responses (at the moment of calling the factory/constructor fromMap / from), the objects received for db and cache do not contain the name, status, and ping keys in the transmitted map/JSON.
π² Appwrite version
Appwrite Cloud
π» Operating system
Linux
π§± Your Environment
no
π Have you spent some time to check if this issue has been raised before?
- I checked and didn't find similar issue
π’ Have you read the Code of Conduct?
- I have read the Code of Conduct