@@ -80,7 +80,7 @@ describe("@customResolver directive", () => {
80
80
81
81
expect ( formatCypher ( result . cypher ) ) . toMatchInlineSnapshot ( `
82
82
"MATCH (this:User)
83
- RETURN this { .firstName, .lastName, .fullName } AS this"
83
+ RETURN this { .firstName, .lastName } AS this"
84
84
` ) ;
85
85
86
86
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -100,7 +100,7 @@ describe("@customResolver directive", () => {
100
100
101
101
expect ( formatCypher ( result . cypher ) ) . toMatchInlineSnapshot ( `
102
102
"MATCH (this:User)
103
- RETURN this { .firstName, .fullName, . lastName } AS this"
103
+ RETURN this { .firstName, .lastName } AS this"
104
104
` ) ;
105
105
106
106
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -119,7 +119,7 @@ describe("@customResolver directive", () => {
119
119
120
120
expect ( formatCypher ( result . cypher ) ) . toMatchInlineSnapshot ( `
121
121
"MATCH (this:User)
122
- RETURN this { .fullName, . firstName, .lastName } AS this"
122
+ RETURN this { .firstName, .lastName } AS this"
123
123
` ) ;
124
124
125
125
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -162,7 +162,7 @@ describe("@customResolver directive", () => {
162
162
163
163
expect ( formatCypher ( result . cypher ) ) . toMatchInlineSnapshot ( `
164
164
"MATCH (this:User)
165
- RETURN this { .firstName, .fullName } AS this"
165
+ RETURN this { .firstName } AS this"
166
166
` ) ;
167
167
168
168
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -181,7 +181,7 @@ describe("@customResolver directive", () => {
181
181
182
182
expect ( formatCypher ( result . cypher ) ) . toMatchInlineSnapshot ( `
183
183
"MATCH (this:User)
184
- RETURN this { .fullName } AS this"
184
+ RETURN this { } AS this"
185
185
` ) ;
186
186
187
187
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -256,7 +256,7 @@ describe("@customResolver directive", () => {
256
256
WITH this1 { city: var4 } AS this1
257
257
RETURN head(collect(this1)) AS var5
258
258
}
259
- RETURN this { .firstName, .lastName, .fullName, address: var5 } AS this"
259
+ RETURN this { .firstName, .lastName, address: var5 } AS this"
260
260
` ) ;
261
261
262
262
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -312,7 +312,7 @@ describe("@customResolver directive", () => {
312
312
WITH this1 { city: var4 } AS this1
313
313
RETURN head(collect(this1)) AS var5
314
314
}
315
- RETURN this { .lastName, .fullName, . firstName, address: var5 } AS this"
315
+ RETURN this { .lastName, .firstName, address: var5 } AS this"
316
316
` ) ;
317
317
318
318
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -343,7 +343,7 @@ describe("@customResolver directive", () => {
343
343
WITH this1 { city: var4 } AS this1
344
344
RETURN head(collect(this1)) AS var5
345
345
}
346
- RETURN this { .fullName, . firstName, .lastName, address: var5 } AS this"
346
+ RETURN this { .firstName, .lastName, address: var5 } AS this"
347
347
` ) ;
348
348
349
349
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -425,7 +425,7 @@ describe("@customResolver directive", () => {
425
425
WITH var2
426
426
RETURN collect(var2) AS var2
427
427
}
428
- RETURN this { .name, .publicationsWithAuthor, publications: var2 } AS this"
428
+ RETURN this { .name, publications: var2 } AS this"
429
429
` ) ;
430
430
431
431
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -484,7 +484,7 @@ describe("@customResolver directive", () => {
484
484
WITH var2
485
485
RETURN collect(var2) AS var2
486
486
}
487
- RETURN this { .publicationsWithAuthor, . name, publications: var2 } AS this"
487
+ RETURN this { .name, publications: var2 } AS this"
488
488
` ) ;
489
489
490
490
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -519,7 +519,7 @@ describe("@customResolver directive", () => {
519
519
WITH var2
520
520
RETURN collect(var2) AS var2
521
521
}
522
- RETURN this { .publicationsWithAuthor, . name, publications: var2 } AS this"
522
+ RETURN this { .name, publications: var2 } AS this"
523
523
` ) ;
524
524
525
525
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -606,7 +606,7 @@ describe("@customResolver directive", () => {
606
606
WITH var2
607
607
RETURN collect(var2) AS var2
608
608
}
609
- RETURN this { .name, .publicationsWithAuthor, publications: var2 } AS this"
609
+ RETURN this { .name, publications: var2 } AS this"
610
610
` ) ;
611
611
612
612
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -665,7 +665,7 @@ describe("@customResolver directive", () => {
665
665
WITH var2
666
666
RETURN collect(var2) AS var2
667
667
}
668
- RETURN this { .publicationsWithAuthor, . name, publications: var2 } AS this"
668
+ RETURN this { .name, publications: var2 } AS this"
669
669
` ) ;
670
670
671
671
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
@@ -700,7 +700,7 @@ describe("@customResolver directive", () => {
700
700
WITH var2
701
701
RETURN collect(var2) AS var2
702
702
}
703
- RETURN this { .publicationsWithAuthor, . name, publications: var2 } AS this"
703
+ RETURN this { .name, publications: var2 } AS this"
704
704
` ) ;
705
705
706
706
expect ( formatParams ( result . params ) ) . toMatchInlineSnapshot ( `"{}"` ) ;
0 commit comments