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

Replace SdkVersion from reflection to source generator #2992

Open
bruno-garcia opened this issue Dec 22, 2023 · 0 comments
Open

Replace SdkVersion from reflection to source generator #2992

bruno-garcia opened this issue Dec 22, 2023 · 0 comments

Comments

@bruno-garcia
Copy link
Member

bruno-garcia commented Dec 22, 2023

image

While adding #2709 I noticed we're causing blocking on the first access to the SDK version.
This could be replaced by something source generated so the value is available in some const

Edit:

It actually looks like thsi block is done by synchronization done by Lazy<T>:
image
But still having this written with source generator would resolve this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants