Skip to content

Commit

Permalink
fix(core): regression for test: "should not prefix nested `EdgeBuilde…
Browse files Browse the repository at this point in the history
…r` if it has no `autoType`"
  • Loading branch information
binier committed Aug 4, 2020
1 parent 33cdd0c commit d9a2022
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/edge/edge-builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export class EdgeBuilder {

if (edge._varName) this._varName = edge._varName;
if (edge._autoType !== undefined) this._autoType = edge._autoType;
if (edge.type !== undefined && !edge.autoType) this.type = edge.type;
if (!edge.autoType) this.type = edge.type;
Object.assign(this.directives, edge.directives);
Object.assign(this.args.all, edge.args.all);

Expand Down

0 comments on commit d9a2022

Please sign in to comment.