Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querying an empty order list throws an error #229

Open
1 of 4 tasks
dominiks96 opened this issue Feb 22, 2021 · 0 comments
Open
1 of 4 tasks

Querying an empty order list throws an error #229

dominiks96 opened this issue Feb 22, 2021 · 0 comments

Comments

@dominiks96
Copy link

dominiks96 commented Feb 22, 2021

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:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@dominiks96 and others