File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
packages/graphql/tests/performance/schema Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1919
2020import Neo4jGraphQL from "../../../src/classes/Neo4jGraphQL" ;
2121
22- const basicTypeDefs = `
22+ const basicTypeDefs = /* GraphQL */ `
2323 type Journalist @node {
2424 articles: [Article!]! @relationship(type: "HAS_ARTICLE", direction: OUT, properties: "HasArticle")
2525 }
@@ -29,12 +29,12 @@ const basicTypeDefs = `
2929 }
3030
3131 type Article @authorization(filter: [{ where: { node: { id: { eq: "$jwt.sub" } } } }]) @node {
32- id: ID! @id @authorization(filter: [{ where: { node: { id: { eq: "$jwt.sub" } } } }])
32+ id: ID! @id @authorization(filter: [{ where: { node: { id: { eq: "$jwt.sub" } } } }])
3333 blocks: [Block!]! @relationship(type: "HAS_BLOCK", direction: OUT, properties: "HasBlock")
3434 images: [Image!]! @relationship(type: "HAS_IMAGE", direction: OUT)
3535 }
3636
37- type HasBlock @relationshipProperties @node {
37+ type HasBlock @relationshipProperties {
3838 order: Int!
3939 }
4040
Original file line number Diff line number Diff line change 1919
2020import Neo4jGraphQL from "../../../src/classes/Neo4jGraphQL" ;
2121
22- const basicTypeDefs = `
22+ const basicTypeDefs = /* GraphQL */ `
2323 extend schema @link(url: "https://specs.apollo.dev/federation/v2.0", import: ["@key"])
2424
2525 type Journalist @node {
@@ -31,12 +31,12 @@ const basicTypeDefs = `
3131 }
3232
3333 type Article @authorization(filter: [{ where: { node: { id: { eq: "$jwt.sub" } } } }]) @node {
34- id: ID! @id @authorization(filter: [{ where: { node: { id: { eq: "$jwt.sub" } } } }])
34+ id: ID! @id @authorization(filter: [{ where: { node: { id: { eq: "$jwt.sub" } } } }])
3535 blocks: [Block!]! @relationship(type: "HAS_BLOCK", direction: OUT, properties: "HasBlock")
3636 images: [Image!]! @relationship(type: "HAS_IMAGE", direction: OUT)
3737 }
3838
39- type HasBlock @relationshipProperties @node {
39+ type HasBlock @relationshipProperties {
4040 order: Int!
4141 }
4242
You can’t perform that action at this time.
0 commit comments