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

deep assign if nested fragment #629

Closed

Conversation

edvinerikson
Copy link
Contributor

@edvinerikson edvinerikson commented Sep 9, 2016

#534 fix attempt

I am not sure it fixes all cases for this. However some guidance would be helpful since I'm not familiar with the codebase

@apollo-cla
Copy link

@edvinerikson: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Meteor Contributor Agreement here: https://contribute.meteor.com/

@edvinerikson
Copy link
Contributor Author

edvinerikson commented Sep 9, 2016

Also I have no idea how to fix the TS errors

@edvinerikson edvinerikson force-pushed the 543-failing-test-case branch 3 times, most recently from e9ca3fa to 195c1ed Compare September 9, 2016 18:33
Copy link
Contributor

@helfer helfer left a comment

Choose a reason for hiding this comment

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

@edvinerikson Thanks for the PR! There are just a couple of things to fix, and a rebase necessary before we can consider merging it.

@@ -2,7 +2,7 @@ import isArray = require('lodash.isarray');
import isNull = require('lodash.isnull');
import isObject = require('lodash.isobject');
import has = require('lodash.has');
import assign = require('lodash.assign');
const deepAssign = require('deep-assign');
Copy link
Contributor

Choose a reason for hiding this comment

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

Use import here.

@@ -157,6 +157,84 @@ describe('reading from the store', () => {
});
});

it.only('runs a nested fragment with multiple fragments', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

with it.only you're running just this single test!

rootId: 'abcd',
});

// The result of the query shouldn't contain __data_id fields
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this comment here?

@stubailo
Copy link
Contributor

Merging here: #669

@stubailo stubailo closed this Sep 20, 2016
@edvinerikson edvinerikson deleted the 543-failing-test-case branch September 20, 2016 18:33
@edvinerikson edvinerikson restored the 543-failing-test-case branch September 20, 2016 18:34
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants