-
Notifications
You must be signed in to change notification settings - Fork 131
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
Compatibility with new Azure SDK #140
Comments
@chrmarti @chrisdias I am also seeing this with Key Vault: Has error:
cc: @jwendl |
A possible workaround might be to extract the tokens from the old credentials object and use these to create a credentials object compatible with the new SDK. That might also be an approach the extension could take to support the new SDK without breaking existing extensions. |
@chrmarti Aside from |
@bwateratmsft That's the main incompatibility. We also surface |
Looks like also Maybe Side note: I also noticed that the way @ianphil is using I'm not really sure why the |
I think the least-error prone thing to do is expose the new credentials in the extension API, leaving the old credentials there as well, like:
This way breaking changes are avoided but it's still possible for anyone to upgrade. I'm not really a fan of this naming, as eventually I think we would want to remove the old credentials. Perhaps "azureJSCredentials"? @chrmarti any thoughts on this? For |
Maybe just You probably thought of this: To move to broader testing, you could publish the update requiring the Insiders version of VS Code (maybe do this early in a milestone). |
Yeah, publishing it to insiders first sounds good. I will update the required VS Code version to the new insiders after out next release, so it will be available in 1.48. |
When I import the azure-arm-containerservice package, the azure-account credentials work fine with it, but I get a deprecation notice:
If I import @azure/arm-containerservice, it appears to use a different credential type, and doesn’t play nicely with the azure-account typings.
The text was updated successfully, but these errors were encountered: