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

Doesnt work with npm dependency graphql 15.8.0 #1458

Open
taipignas opened this issue May 10, 2024 · 0 comments
Open

Doesnt work with npm dependency graphql 15.8.0 #1458

taipignas opened this issue May 10, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@taipignas
Copy link

Describe the bug
[ERROR] TypeError: Cannot convert undefined or null to object
i get this error when using graphql version 15.8.0

currently the depenency range is set likethis: "graphql": "^14.0 || ^15.0 || ^16.0",

To Reproduce

  1. Get demo project
  2. Change graphql version to 15.8.0
  3. Use graphql-tools/graphql-file-loader with demo projects schema (i didnt try url loader)
  4. npx docusaurus graphql-to-doc
  5. get the error

Expected behavior
Documentation is generated without issues

Additional context
Works without issues with 16.8.1

@taipignas taipignas added the bug Something isn't working label May 10, 2024
@taipignas taipignas changed the title Doesn work with npm dependency graphql 15.8.0 Doesnt work with npm dependency graphql 15.8.0 May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants