-
Notifications
You must be signed in to change notification settings - Fork 17
feat: add streaming query snippets #3076
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Skipped: This PR does not contain any of your configured keywords: ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As for this file, it is transferred from my previous PR - #3060
| queryText = stripAllLeadingIndent(queryText); | ||
| queryText = normalizeParameter(queryText); | ||
|
|
||
| const bodyQueryText = queryText ? indentBlock(queryText) : ' {current query text}'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if no query text is presented, lets do stub as snippet ${2:<streaming_query_text>}
| function stripAllLeadingIndent(str: string) { | ||
| return str | ||
| .split('\n') | ||
| .map((line) => line.replace(/^[ \t]+/, '')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
trim?
Stand: https://nda.ya.ru/t/UlMK3WpF7Msfdk
CI Results
Test Status:⚠️ FLAKY
📊 Full Report
Test Changes Summary ⏭️2
⏭️ Skipped Tests (2)
Bundle Size: 🔺
Current: 66.09 MB | Main: 66.08 MB
Diff: +0.01 MB (0.02%)
ℹ️ CI Information