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

@orta => Bump graphql/tools to reenable stitching and merging #979

Merged
merged 2 commits into from
Mar 21, 2018

Conversation

mzikherman
Copy link
Contributor

Locally this now works with Convection stitching/merging (and feature flag enabled).

@orta
Copy link
Contributor

orta commented Mar 21, 2018

Yep, looks 👍 to me

@@ -77,4 +77,6 @@ export async function mergeSchemas() {
},
}),
})
mergedSchema.__allowedLegacyNames = ["__id"]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

After tracing thru some of the buildSchema, etc. methods used above, this was the one that wound up working.

Which makes sense, the result of this function is the schema that we are operating on, executing resolvers, etc. So this is the schema that needs this option set.

Copy link
Member

Choose a reason for hiding this comment

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

@alloy should be able to comment more about this as he's done some recent relay work around this option

@orta
Copy link
Contributor

orta commented Mar 21, 2018

Rock

@orta orta merged commit 31b7d44 into master Mar 21, 2018
@orta orta deleted the silence_dunderscore_error branch March 21, 2018 18:22
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.

3 participants