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

Query Interface #3232

Open
2 tasks done
MedHeikelBouzayene opened this issue Dec 28, 2024 · 0 comments · May be fixed by #3238
Open
2 tasks done

Query Interface #3232

MedHeikelBouzayene opened this issue Dec 28, 2024 · 0 comments · May be fixed by #3238

Comments

@MedHeikelBouzayene
Copy link
Contributor

Prerequisites

  • I have checked the existing issues to ensure this is not a duplicate.
  • I am running the latest version of Tailcall.

Describe the bug

Why when we query an interface existing in another GraphQL server, the query sent to the original server doesn't contain fragments?
Like that we can't query the different entities implementing the interface.
query used in tailcall:

query QueryInterface {
    queryInterface {
        name
        __typename
        ... on Author {
            author_id
        }
        ... on Book {
            book_id
        }
    }
}

query sent to the original graphql server:

INFO Query { "query": "query { Interface { name __typename author_id book_id } }" }
@MedHeikelBouzayene MedHeikelBouzayene linked a pull request Jan 4, 2025 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
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant