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

Add afterInfinityModel #105

Merged
merged 1 commit into from
Nov 25, 2015
Merged

Add afterInfinityModel #105

merged 1 commit into from
Nov 25, 2015

Conversation

davidgoli
Copy link
Collaborator

This supercedes #77 with all changes made.

@davidgoli davidgoli force-pushed the after-infinity branch 5 times, most recently from bbd74f4 to 343f6a7 Compare November 20, 2015 21:47
@@ -1,6 +1,6 @@
{
"name": "ember-infinity",
"version": "0.2.0-beta.1",
"version": "0.2.0",
Copy link
Collaborator

Choose a reason for hiding this comment

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

We usually bump the version separate to a PR @davidgoli - can you please remove this file from the PR?

}
},
afterInfinityModel(items) {
return items.setEach('author', 'F. Scott Fitzgerald');
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Hm, this test doesn't actually test that - in fact it's identical to the test above.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I don't think this is a feature we need first-order support for anyways.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We can implement that separately.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

NM this is supported, it's just that test wasn't testing it

@davidgoli davidgoli force-pushed the after-infinity branch 2 times, most recently from c4a3076 to d22dcf3 Compare November 21, 2015 02:32
@davidgoli
Copy link
Collaborator Author

@hhff updated!

hhff added a commit that referenced this pull request Nov 25, 2015
@hhff hhff merged commit ef94968 into master Nov 25, 2015
@hhff
Copy link
Collaborator

hhff commented Nov 25, 2015

awesome work @kxcrl & @davidgoli - I'm doing a lightning talk at EmberNYC next week - going to be showing off this awesome feature 👍

@hhff hhff deleted the after-infinity branch November 25, 2015 16:17
@kxcrl
Copy link
Contributor

kxcrl commented Nov 26, 2015

@hhff Awesome! Good luck!

@marcemira
Copy link

Hello! I'm having duplicated results on latest 0.2.1
My model looks like this:

  model() {
    return this.infinityModel('wall/event', { 
      perPage: 6,
      startingPage: 0,
      q:'relevant'
    });
  }

Cheers!

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.

None yet

4 participants