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

Support "using" pattern in TS #4796

Open
austinlparker opened this issue Jun 15, 2024 · 3 comments
Open

Support "using" pattern in TS #4796

austinlparker opened this issue Jun 15, 2024 · 3 comments

Comments

@austinlparker
Copy link
Member

Heya - got some feedback thru the community that it'd be great if we could support the 'using' keyword in TS 5.2+ for span creation. Didn't see an open issue so I just wanted to get it on the radar.

@pichlermarc
Copy link
Member

Hmm, that'd be a neat feature, thanks for bringing this up.

I'm worried this is going to be a difficult as the spec prohibits us to rev major on the API. Updating typescript for the API would be a breaking change as the emitted types may not be compatible with older TS versions. We'll need to find some solution to this before we can commit to this feature. We may after all have to hand-roll types for the API package in the future to allow these types of features.

Unfortunately #3955 is not going to help this along as it focuses on the SDK.

Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the stale label Aug 19, 2024
Copy link

github-actions bot commented Sep 2, 2024

This issue was closed because it has been stale for 14 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 2, 2024
@pichlermarc pichlermarc reopened this Dec 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants