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 interfaces can't reference themselves #5311

Closed
MichaelJCompton opened this issue Apr 28, 2020 · 0 comments · Fixed by #5738
Closed

GraphQL interfaces can't reference themselves #5311

MichaelJCompton opened this issue Apr 28, 2020 · 0 comments · Fixed by #5738
Labels
area/graphql Issues related to GraphQL support on Dgraph. kind/bug Something is broken. status/accepted We accept to investigate/work on it.

Comments

@MichaelJCompton
Copy link
Contributor

type AnInterface {
  ...
  self: AnInterface
}

Doesn't generate anything in the Dgraph schema to save the reference.

Affected versions: 20.03.0, 20.03.1

@MichaelJCompton MichaelJCompton added kind/bug Something is broken. status/accepted We accept to investigate/work on it. area/graphql Issues related to GraphQL support on Dgraph. labels Apr 28, 2020
@MichaelJCompton MichaelJCompton added this to the Dgraph v20.03.4 milestone Jul 3, 2020
vardhanapoorv added a commit that referenced this issue Jul 7, 2020
…L interface (#5738) (#5828)

Fixes #5311
Fixes #GRAPHQL-419
Previously when Dgraph schema was generated the GraphQL interface was getting skipped and hence it was not present in the generated Dgraph schema. This PR fixes that and hence now all the queries/mutations will work as expected.

(cherry picked from commit c6a0dfa)
danielmai pushed a commit that referenced this issue Jul 7, 2020
…L interface (#5738) (#5844)

Fixes #5311
Fixes GRAPHQL-419
Previously when Dgraph schema was generated the GraphQL interface was getting skipped and hence it was not present in the generated Dgraph schema. This PR fixes that and hence now all the queries/mutations will work as expected.

(cherry picked from commit c6a0dfa)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/graphql Issues related to GraphQL support on Dgraph. kind/bug Something is broken. status/accepted We accept to investigate/work on it.
Development

Successfully merging a pull request may close this issue.

1 participant