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

GraphQL: Load schema from file #2314

Open
2 tasks done
DempseyRoller opened this issue May 15, 2024 · 0 comments · May be fixed by #2322
Open
2 tasks done

GraphQL: Load schema from file #2314

DempseyRoller opened this issue May 15, 2024 · 0 comments · May be fixed by #2322
Labels
bug Something isn't working

Comments

@DempseyRoller
Copy link

I have checked the following:

  • I use the newest version of bruno.
  • I've searched existing issues and found nothing related to my issue.

Describe the bug

Trying to load a .graphql -schema file results in the following:

Error occurred while loading GraphQL Schema: Error invoking remote method 'renderer:load-gql-schema-file': Error: Failed to load GraphQL schema file

Here's content of a example file:

type Book {
  title: String
  author: Author
}

type Author {
  name: String
  books: [Book]
}

Loading the same schema file in PostMan works.
I tried this first with version 1.12.0 then updated to 1.17.0. Neither does work.

.bru file to reproduce the bug

No response

Screenshots/Live demo link

image

@DempseyRoller DempseyRoller added the bug Something isn't working label May 15, 2024
@Nithishvb Nithishvb linked a pull request May 16, 2024 that will close this issue
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant