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

Integrate with latest Orbit.js #98

Merged
merged 56 commits into from May 24, 2016
Merged

Integrate with latest Orbit.js #98

merged 56 commits into from May 24, 2016

Conversation

dgeb
Copy link
Member

@dgeb dgeb commented May 24, 2016

opsb and others added 30 commits December 19, 2015 10:52
Update orbit.js to #9bcf102
opsb and others added 25 commits March 26, 2016 15:07
Reintegrate with latest version of orbit
Every model should have a primary `id` field which is no longer defined
as a `key`. Keys are now used for tracking remote keys only.
Allow `orbitSchema` to either be injected on creation or to be
created as part of EO.Schema creation.
Fixes to the rethink branch
Stores should not create their own schemas. This was backwards.
Require `schema` to be injected onto a Store.
This method should trigger the request flow, and not simply transform
the store’s cache.
This was inconsistently implemented across methods that might initiate
a transform.

Furthermore, the need for a store-wide promise tracker hasn’t been 
proven. It seems preferable to observe the state of the coordinator
and all of its queues.
Transforms are now received via the cache’s patches subscription.
Simply invoke `this.orbitStore.query`.
By placing `type` on each Model instance, models can be inspected for 
their `type` + `id`. This eliminates the need for `getIdentifier`
in queries and transforms.
No need to use get/set on instance-level vars. These can be accessed
directly.

`identifier` method is no longer necessary.
No need to use get/set on instance-level vars. These can be accessed
directly.
Minimize use of get/set on instance-level vars, favoring direct access
where possible.
Requires immutable.js.
@dgeb dgeb merged commit 513c12d into master May 24, 2016
@dgeb dgeb deleted the rethink_integration branch May 24, 2016 21:01
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

2 participants