-
-
Notifications
You must be signed in to change notification settings - Fork 821
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
Multiple fragments support #895
Conversation
@maticzav: 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/ |
cc @freiksenet |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please fix the changelog reformatting. Otherwise some minor issues.
CHANGELOG.md
Outdated
@@ -1,341 +1,345 @@ | |||
# Change log |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changelog got fully reformatted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed ✅
@@ -119,3 +129,30 @@ function parseFragmentToInlineFragment( | |||
|
|||
throw new Error('Could not parse fragment'); | |||
} | |||
|
|||
function concatInlineFragments( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, few issues here.
- If fragments have conflicting aliases this will break
- Maybe this should dedupe fields (also watch out for aliases in that case)
This looks good to me. |
Fixed conflicts and merged via CLI, thank you! |
TODO:
This is the implementation of #894 issue.