Skip to content

πŸ› Bug Report:Β #1211

@Fellmonkey

Description

@Fellmonkey

πŸ‘Ÿ 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.
Image

In a project with Dart SDK (dart_appwrite-18.1.0), execute code similar to runHealthChecks()
Image
I made some changes in Dart, because otherwise an error would occur: type 'Null' is not a subtype of type 'int'
Image

(Separately) Repeat in a similar manner via .NET SDK β€” the same behavior is observed.
Image

πŸ‘ 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions