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

Update README.md with requirements for the return value from afterInfinityModel #130

Merged
merged 2 commits into from
Mar 11, 2016

Conversation

chbonser
Copy link

Per issue #123

In the first example, afterInfinityModel does not have an explicit return
defined so the original posts promise result is used. In the second example,
the returned collection of authors is used.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thankyou @chbonser !!

The developer can also return a promise to afterInfinityModel - in which case it will hold execution before populating the model. I'd like to be sure we document that too! It's a big part of the feature

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point. Updating now.

…tyModel holds execution until it is resolved
@hhff
Copy link
Collaborator

hhff commented Jan 19, 2016

@davidgoli thoughts? Plz merge if you're happy

hhff added a commit that referenced this pull request Mar 11, 2016
Update README.md with requirements for the return value from afterInfinityModel
@hhff hhff merged commit 0ee6cea into adopted-ember-addons:master Mar 11, 2016
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

Successfully merging this pull request may close these issues.

2 participants