-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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: Avoid error popup when using in Live Share #13095
Conversation
@@ -33,7 +33,7 @@ export function outputChannel() { | |||
} | |||
|
|||
export interface RustAnalyzerExtensionApi { | |||
client: lc.LanguageClient; | |||
client?: lc.LanguageClient; |
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.
This is public API but I am not sure how we're supposed to version it.
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.
Well our versioning story is a bit awkward anyways in that 0.4 is nightly and 0.3 is stable. So minor version bumps don't really make sense for API stability either
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.
Since node uses standard semver anyways, I think every version we publish can include breaking changes, so we should be fine?
@bors r+ |
☀️ Test successful - checks-actions |
cc #8844
Not sure if there's a better way to do this, feedback appreciated!