Skip to content

Commit 7760a27

Browse files
committed
Fix code review comments
1 parent 33f906d commit 7760a27

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

packages/graphql/src/translate/queryAST/factory/Operations/ConnectFactory.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,6 @@ export class ConnectFactory {
206206
});
207207

208208
this.addPopulatedByFieldToConnect({
209-
// entity: target,
210209
connect,
211210
input,
212211
callbackBucket,
@@ -215,13 +214,11 @@ export class ConnectFactory {
215214
}
216215

217216
private addPopulatedByFieldToConnect({
218-
// entity,
219217
connect,
220218
input,
221219
callbackBucket,
222220
relationship,
223221
}: {
224-
// entity: ConcreteEntityAdapter;
225222
connect: ConnectOperation;
226223
input: Record<string, any>;
227224
callbackBucket: CallbackBucket;
@@ -231,7 +228,7 @@ export class ConnectFactory {
231228
relationship?.getPopulatedByFields("CREATE").forEach((attribute) => {
232229
const attachedTo = "relationship";
233230
// the param value it's irrelevant as it will be overwritten by the callback function
234-
const relCallbackParam = new Cypher.Param("foo");
231+
const relCallbackParam = new Cypher.Param("");
235232
const relField = new ParamInputField({
236233
attribute,
237234
attachedTo,

packages/graphql/src/translate/queryAST/factory/Operations/CreateFactory.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ export class CreateFactory {
498498
relationship?.getPopulatedByFields("CREATE").forEach((attribute) => {
499499
const attachedTo = "relationship";
500500
// the param value it's irrelevant as it will be overwritten by the callback function
501-
const relCallbackParam = new Cypher.Param("foo");
501+
const relCallbackParam = new Cypher.Param("");
502502
const relField = new ParamInputField({
503503
attribute,
504504
attachedTo,

0 commit comments

Comments
 (0)