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

Two interfaces on a node object produces incorrect graphql schema output #1209

Open
berkcoker opened this issue Jun 20, 2020 · 1 comment
Open
Labels

Comments

@berkcoker
Copy link

Note: for support questions, please use stackoverflow. This repository's issues are reserved for feature requests and bug reports.

  • What is the current behavior?
    Using two interfaces on a single node results in a schema file where the Interfaces are separated by comma and not ampersand. The comma results in an error, when using, say relay compiler.

  • If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
    a github repo, https://repl.it or similar.

  • Inherit from two different interfaces
  • Output the schema using graphql_schema
  • What is the expected behavior?

  • What is the motivation / use case for changing the behavior?

  • Please tell us about your environment:

    • Version:
    • Platform:
  • Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow)

@DoctorJohn
Copy link
Contributor

Thanks for reporting @berkcoker

This issue has its origin in graphql-core, it has been reported there and has been fixed in graphql-core v3. Unfortunately the stable release of graphene still depends on graphql-core v2.

I encountered this issue myself and decided to use the beta releases of graphene v3. They depend on graphql-core v3 and thus contain the fix.

kolia-kaploniuk added a commit to inigolabs/graphql-go-tools that referenced this issue Dec 8, 2022
kolia-kaploniuk added a commit to inigolabs/graphql-go-tools that referenced this issue Dec 8, 2022
kolia-kaploniuk added a commit to inigolabs/graphql-go-tools that referenced this issue Jan 12, 2023
kolia-kaploniuk added a commit to inigolabs/graphql-go-tools that referenced this issue Nov 29, 2023
kolia-kaploniuk added a commit to inigolabs/graphql-go-tools that referenced this issue Jun 11, 2024
kolia-kaploniuk added a commit to inigolabs/graphql-go-tools that referenced this issue Jul 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants