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

single model fetch #21

Open
leobalter opened this issue May 20, 2015 · 2 comments
Open

single model fetch #21

leobalter opened this issue May 20, 2015 · 2 comments

Comments

@leobalter
Copy link
Contributor

https://github.com/endpoints/example-bookup/blob/master/app/routes/book.js#L8-L10

This seems inconsistent according to the current ember-data docs: https://github.com/emberjs/data#fetching-a-single-model

I'll check if this is easy solving.

@bmac
Copy link
Member

bmac commented May 20, 2015

The problem here Ember Data doesn't have an easy way to include query parameters when fetching a single record.

@leobalter
Copy link
Contributor Author

but knowing this is fetching a single model this objectAt(0) fn might be already included on the given promise, maybe.

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