-
Notifications
You must be signed in to change notification settings - Fork 17
fix: add implicit transaction_mode to query settings #1240
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
fix: add implicit transaction_mode to query settings #1240
Conversation
| // deprecated https://github.com/ydb-platform/ydb-embedded-ui/issues/1239 | ||
| isolationLevel: { | ||
| title: '', | ||
| }, |
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.
Why do you need it here? Probably, you can remove this field in useLastQueryExecutionSettings, then it should not appear anywhere
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.
no need
| transactionMode: lastStorageSettings.transactionMode, | ||
| queryMode: lastStorageSettings.queryMode, | ||
| statisticsMode: lastStorageSettings.statisticsMode, | ||
| tracingLevel: lastStorageSettings.tracingLevel, | ||
| timeout: lastStorageSettings.timeout, |
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.
{...lastStorageSettings, isolationLevel: undefined}?
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.
I think it would be better to pass fields explicitly not to focus on isolationLevel field
otherwise it looks like a specific fix for specific bug in a common code space
Closes #1239
CI Results
Test Status:⚠️ FLAKY
📊 Full Report
Bundle Size: ✅
Current: 78.84 MB | Main: 78.84 MB
Diff: +0.00 MB (0.00%)
✅ Bundle size unchanged.
ℹ️ CI Information