Skip to content

Commit

Permalink
Add changeset on top level interfaces connection
Browse files Browse the repository at this point in the history
  • Loading branch information
angrykoala committed Mar 5, 2024
1 parent 7ea3d92 commit c198de3
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .changeset/honest-pumpkins-roll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
"@neo4j/graphql": minor
---

Support for top-level connection query on interfaces. For example:

_Typedefs_

```graphql
interface Show {
title: String!
}

type Movie implements Show {
title: String!
cost: Float
}

type Series implements Show {
title: String!
episodes: Int
}
```

_Query_

```graphql
query {
showsConnection(where: { title_CONTAINS: "The Matrix" }) {
edges {
node {
title
... on Movie {
cost
}
}
}
}
}
```

0 comments on commit c198de3

Please sign in to comment.