Skip to content

'loadTypedefsSync' is not outputting imported types #4894

@idahogurl

Description

@idahogurl

Issue workflow progress

Progress of the issue based on the Contributor Workflow

  • 1. The issue provides a reproduction available on Github, Stackblitz or CodeSandbox

    Make sure to fork this template and run yarn generate in the terminal.

    Please make sure the GraphQL Tools package versions under package.json matches yours.

  • 2. A failing test has been provided
  • 3. A local solution has been provided
  • 4. A pull request is pending review

Describe the bug

To Reproduce
Steps to reproduce the behavior:

  1. Clone https://github.com/idahogurl/graphql-tools-import-bug
  2. Run npm i
  3. Run npm run output

Expected behavior
The type PilatesInstructor is output in the schema.graphql file generated

Actual behavior
The type PilatesInstructor is missing from schema.graphql

Environment:

  • OS: macOS Monterey
  • "@graphql-tools/graphql-file-loader": "^7.5.13"
  • "@graphql-tools/load": "^7.8.8"
  • "graphql": "^16.6.0"
  • NodeJS: v16.18.1

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions