Skip to content
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

OnDemandExtensions: flatten stack a bit by inlining Unchecked #2440

Merged
merged 2 commits into from Jul 14, 2023

Conversation

stevenschlansker
Copy link
Member

@stevenschlansker stevenschlansker commented Jul 13, 2023

We call Unchecked three times, and this ends up adding a number of stack frames in the debugger or profiler any time you are looking at an ondemand sqlobject

This fights back just a little bit against ever-deepening stack traces, and makes the logic easier to read too without the distracting Unchecked signatures in the middle

@stevenschlansker stevenschlansker requested a review from a team July 13, 2023 22:03
@stevenschlansker stevenschlansker force-pushed the ondemand-flatten branch 7 times, most recently from 495e1f5 to 34e1b93 Compare July 14, 2023 01:17
We call Unchecked three times, and this ends up adding a number of stack frames
in the debugger or profiler any time you are looking at an ondemand sqlobject

This fights back just a little bit against ever-deepening stack traces,
and makes the logic easier to read too without the distracting Unchecked signatures in the middle
@sonarcloud
Copy link

sonarcloud bot commented Jul 14, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link
Contributor

@hgschmie hgschmie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shipit.

@stevenschlansker stevenschlansker merged commit 2347c76 into master Jul 14, 2023
36 checks passed
@stevenschlansker stevenschlansker deleted the ondemand-flatten branch July 14, 2023 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants