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

store.queryRecord not implemented by ActiveModelAdapter #3508

Closed
justinbburris opened this issue Jul 7, 2015 · 4 comments
Closed

store.queryRecord not implemented by ActiveModelAdapter #3508

justinbburris opened this issue Jul 7, 2015 · 4 comments

Comments

@justinbburris
Copy link

I seem to be running into an issue when trying to use queryRecord in Ember Data 1.13.4

> this.store.queryRecord('some-record', {query: 'query'})
Error: Assertion Failed: You tried to make a query but your adapter does not implement `queryRecord`

I am using the ActiveModelAdapter, which inherits from the RestAdapter. The function isn't defined in either.

Is there something obvious I'm missing? Thanks!

@thaume
Copy link

thaume commented Jul 7, 2015

Hey @justinbburris it will be there soon, we're still fixing a couple things about queryRecord at the store level.
PRs for the RESTAdapter and the ActiveModelAdapter will come soon.

@thaume
Copy link

thaume commented Jul 7, 2015

Closing in favor of #3514

@wecc
Copy link
Contributor

wecc commented Jul 7, 2015

Closing as ActiveModelAdapter will be fixed automatically when queryRecord is implemented RESTAdapter.

@wecc wecc closed this as completed Jul 7, 2015
@justinbburris
Copy link
Author

Thanks for the fast response. Good to know I wasn't going crazy :)

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

3 participants