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

relatedRecords live query operator misses hasOne links included by addRecord #236

Closed
opsb opened this issue Jan 1, 2016 · 1 comment
Closed

Comments

@opsb
Copy link
Contributor

opsb commented Jan 1, 2016

e.g. when the following operation is processed

{op: 'add', path: 'moon/callisto', value: {id: 'callisto', relationships: {planet: {data: 'planet:jupiter'}}}

then the relatedRecords operator will ignore it because it only looks for operations that target the relationships directly, i.e. a replaceHasOne.

NB: Once fixed re-enable assertions at https://github.com/opsb/ember-orbit/blob/839b05a9629481d5f38d7649d4e18a55cbd09fab/test/tests/integration/model-test.js#L37-L38

opsb added a commit to opsb/ember-orbit that referenced this issue Jan 6, 2016
opsb added a commit to opsb/ember-orbit that referenced this issue Jan 6, 2016
@dgeb
Copy link
Member

dgeb commented Jul 18, 2017

The "live query" concept has been extracted from Orbit proper and will live in wrapper libs such as ember-orbit. Systems of observation provided by frameworks such as RxJS, Ember, and Glimmer vary widely enough that equivalent live queries should be written for each.

@dgeb dgeb closed this as completed Jul 18, 2017
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