-
-
Notifications
You must be signed in to change notification settings - Fork 103
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
Fix nested fragments getting masked out incorrectly #1244
Fix nested fragments getting masked out incorrectly #1244
Conversation
🦋 Changeset detectedLatest commit: 69a2f7f The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for houdinigraphql canceled.
|
✅ Deploy Preview for houdini-docs-next canceled.
|
@AlecAivazis I think this PR is pretty much ready, however some of the e2e tests seem to still be failing. Could you take a look at this, as I can't seem to be able to get those running on my computer? |
No problem! I updated the snapshots, will merge this in once we get the 👍 from github |
) Co-authored-by: Alec Aivazis <[email protected]>
fixes #1243
When fragments with arguments are nested, they ended up not having their arguments in the generated artifact of the parent fragment. This caused the fields in the nested fragment consuming those arguments to be masked out, as those fragments were instantiated with an empty arguments object.
To help everyone out, please make sure your PR does the following:
pnpm run tests
andcd integration && pnpm run tests
pnpm changeset