Skip to content

🐛 Bug Report: HTTP call to Client throws error due to he HttpMethod enum not being exported from client.dart #699

@hanskokx

Description

@hanskokx

👟 Reproduction steps

When I attempt to make an HTTP call to the Client, I am unable to due to the HttpMethod enum not being exported from client.dart:

await client.call(
  HttpMethod.get,
  path: '/',
);

👍 Expected behavior

I should be able to make a call to the Client using the provided enum.

👎 Actual Behavior

The HttpMethod enum is not exported from client.dart, therefore I am unable to use the call method on the Client.

🎲 Appwrite version

Different version (specify in environment)

💻 Operating system

Something else

🧱 Your Environment

This is a client issue, not a server issue.

My pubspec.yaml specifies appwrite: ^9.0.1.

👀 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