Skip to content

Commit 8a82e12

Browse files
change 6031 to not use deprecated syntax
1 parent 9ff8a10 commit 8a82e12

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/graphql/tests/integration/issues/6031.int.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ describe("https://github.com/neo4j/graphql/issues/6031", () => {
7676
test("typename should be supported on top-level connection where", async () => {
7777
const query = /* GraphQL */ `
7878
query TopLevelCount {
79-
productionsConnection(where: { typename_IN: [${Movie}] }) {
79+
productionsConnection(where: { typename: [${Movie}] }) {
8080
edges {
8181
node {
8282
title
@@ -108,7 +108,7 @@ describe("https://github.com/neo4j/graphql/issues/6031", () => {
108108
edges {
109109
node {
110110
name
111-
productionsConnection(where: { node: { typename_IN: [${Movie}] } }) {
111+
productionsConnection(where: { node: { typename: [${Movie}] } }) {
112112
edges {
113113
node {
114114
title

packages/graphql/tests/tck/issues/6031.test.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ describe("https://github.com/neo4j/graphql/issues/6031", () => {
5959
test("Top-level connection typename filtering", async () => {
6060
const query = /* GraphQL */ `
6161
query {
62-
productionsConnection(where: { typename_IN: [Movie] }) {
62+
productionsConnection(where: { typename: [Movie] }) {
6363
edges {
6464
node {
6565
title
@@ -98,7 +98,7 @@ describe("https://github.com/neo4j/graphql/issues/6031", () => {
9898
edges {
9999
node {
100100
name
101-
productionsConnection(where: { node: { typename_IN: [Movie] } }) {
101+
productionsConnection(where: { node: { typename: [Movie] } }) {
102102
edges {
103103
node {
104104
title

0 commit comments

Comments
 (0)