File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/graphql/src/translate/queryAST/factory/Operations Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -388,7 +388,6 @@ export class CreateFactory {
388
388
create,
389
389
input,
390
390
callbackBucket,
391
- isNested,
392
391
relationship,
393
392
} ) ;
394
393
}
@@ -460,14 +459,12 @@ export class CreateFactory {
460
459
create,
461
460
input,
462
461
callbackBucket,
463
- isNested,
464
462
relationship,
465
463
} : {
466
464
entity : ConcreteEntityAdapter ;
467
465
create : CreateOperation ;
468
466
input : Record < string , any > ;
469
467
callbackBucket : CallbackBucket ;
470
- isNested : boolean ;
471
468
relationship ?: RelationshipAdapter ;
472
469
} ) {
473
470
entity . getPopulatedByFields ( "CREATE" ) . forEach ( ( attribute ) => {
@@ -494,8 +491,8 @@ export class CreateFactory {
494
491
} ) ;
495
492
} ) ;
496
493
497
- if ( isNested ) {
498
- relationship ? .getPopulatedByFields ( "CREATE" ) . forEach ( ( attribute ) => {
494
+ if ( relationship ) {
495
+ relationship . getPopulatedByFields ( "CREATE" ) . forEach ( ( attribute ) => {
499
496
const attachedTo = "relationship" ;
500
497
// the param value it's irrelevant as it will be overwritten by the callback function
501
498
const relCallbackParam = new Cypher . Param ( "" ) ;
You can’t perform that action at this time.
0 commit comments