Skip to content

Querying an empty order list throws an error #229

@dominiks96

Description

@dominiks96

Issue type

  • bug
  • missing functionality
  • performance
  • feature request

Brief description

When using the Client.Orders.All() function when there are no orders present it returns an error "data slice too short for order: []interface {}{}". In my opinion it should just return an empty list, or at least a "dedicated" error I can check for.

Steps to reproduce

  • Have an empty order list
  • Call Client.Orders.All()
Additional Notes:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions