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

Using GraphQL inheritance leads to exception #1977

Open
beikov opened this issue Dec 24, 2024 · 0 comments
Open

Using GraphQL inheritance leads to exception #1977

beikov opened this issue Dec 24, 2024 · 0 comments

Comments

@beikov
Copy link
Member

beikov commented Dec 24, 2024

Description

Querying a GraphQL schema that uses interface inheritance fails when trying to use a selection set that asks for fields of the base type e.g.

query {
  myQuery {
    id
    subtypeField {
      id
    }
  }
}

Problem is that the selection set contains a path like ResultType.subtypeField/[Subtype1, Subtype2].id which we can't handle in the GraphQL query integration.

Environment

Version: 1.6.14
JPA-Provider: -
DBMS: -
Application Server: -

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant