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

Fix stitchSchemas for when empty array of typeDefs are passed #1575

Merged
merged 1 commit into from Jun 2, 2020

Commits on Jun 2, 2020

  1. Fix stitchSchemas for when empty array of typeDefs are passed

    If an empty array is passed, the GraphQL parser fails, because the
    source is empty. Switch the typeDef check to check for length as well,
    since an empty array is truthy.
    rufman committed Jun 2, 2020
    Copy the full SHA
    403f0a8 View commit details
    Browse the repository at this point in the history