Skip to content

Conversation

@sunny-g
Copy link

@sunny-g sunny-g commented Oct 17, 2015

In reference to #10 and #11, this restores the observer methods added, changed and removed to the observer object and calls them when handling their corresponding DDP messages.

This also fixes a mismatch between the naming convention changed and updated that wasn't resolved in #11; the observer now has a method changed by default that is called when receiving DDP messages of the type "changed".

@codydaig
Copy link

LGTM

@sunny-g sunny-g force-pushed the master branch 2 times, most recently from 094cb21 to 334db94 Compare November 1, 2015 18:08
@sunny-g sunny-g closed this Nov 10, 2015
@sunny-g
Copy link
Author

sunny-g commented Nov 10, 2015

Closing because I see why you made the changes (minimongo lets us observe collections rather than directly observing stored data from subscriptions).

@sunny-g sunny-g reopened this Nov 11, 2015
@sunny-g sunny-g changed the title (feat) restores observer functions, fixes #10 and #11 (feat) adds promisified constructor, fixes #10 and #11, bumps minor version Nov 11, 2015
@sunny-g sunny-g force-pushed the master branch 2 times, most recently from baeb0b6 to 232cbb8 Compare November 11, 2015 02:58
@sunny-g
Copy link
Author

sunny-g commented Nov 11, 2015

I've removed the observers since they can't be used, regardless of maintainCollections, and added another class DDP that is the same but with Promise-ified versions of all of the asynchronous functions.

There may have been a thing or two I've forgotten so let me know if there are any changes you want me to make.

@yogiben
Copy link

yogiben commented Jan 11, 2016

+1

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.

3 participants