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

Issue when calling Model.get with an array with a length of 1 #37

Closed
sawyerh opened this issue Dec 27, 2016 · 2 comments
Closed

Issue when calling Model.get with an array with a length of 1 #37

sawyerh opened this issue Dec 27, 2016 · 2 comments

Comments

@sawyerh
Copy link

sawyerh commented Dec 27, 2016

If you call the Model.get method with an array consisting of only one ID, nothing seems to be returned.

For example, calling the following returns an array of 2 entities:

MyModel.get([10, 15])

However calling the following doesn't return anything:

MyModel.get([10])
@sebelga
Copy link
Owner

sebelga commented Dec 28, 2016

Hi, thank you for reporting, I spotted the error :) I will bring a fix asap.

@sebelga
Copy link
Owner

sebelga commented Feb 21, 2017

Hi,
Sorry this go caught long time in PR without merging. :) It should be solved in the latest v0.10.0 release.
thanks again for reporting.

@sebelga sebelga closed this as completed Feb 21, 2017
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