Skip to content

Commit

Permalink
fix comma separation of globals
Browse files Browse the repository at this point in the history
  • Loading branch information
Quin Lynch committed Apr 22, 2024
1 parent 16c204c commit c728790
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/EdgeDB.Net.QueryBuilder/QueryNodes/WithNode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ public override void FinalizeQuery(QueryWriter writer)

for (var i = 0; i != groups.Length; i++)
{
if (i > 0 && i < groups.Length)
writer.Append(", ");

var globalGroup = groups[i];

// basic global
Expand Down Expand Up @@ -86,10 +89,6 @@ public override void FinalizeQuery(QueryWriter writer)
));
}
}

//
// if (i + 1 < Builder.QueryGlobals.Count)
// writer.Append(", ");
}
}
}
Expand Down

0 comments on commit c728790

Please sign in to comment.