We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55a8bf3 commit ad88b78Copy full SHA for ad88b78
codegen/generator/src/Visitors/PaginationVisitor.cs
@@ -212,7 +212,7 @@ binaryExpr.Right is KeywordExpression rightKeyword &&
212
var hasMoreNullCheck = Snippet.Not(hasMoreVariable);
213
214
// Return "nextToken == null || !hasMore"
215
- return new BinaryOperatorExpression("||", binaryExpr, hasMoreNullCheck);
+ return BoolSnippets.Or(binaryExpr.As<bool>(), hasMoreNullCheck);
216
}
217
218
return expression;
0 commit comments