Skip to content

Fix proposed API registration #814

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

Conversation

isc-bsaviano
Copy link
Contributor

This PR fixes an issue where beta and dev vsix's cannot be activated with proposed APIs disabled.

See #781, starting from #781 (comment) for how this issue manifests.

Copy link
Contributor

@gjsjohnmurray gjsjohnmurray left a comment

Choose a reason for hiding this comment

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

Are the packageJson.enableProposedApi tests still needed?

@isc-bsaviano
Copy link
Contributor Author

@gjsjohnmurray Nope, just tested without them and everything still works. I will remove them.

@isc-bsaviano isc-bsaviano merged commit d353b98 into intersystems-community:master Dec 27, 2021
@isc-bsaviano isc-bsaviano deleted the fix-proposed-api-registration branch December 27, 2021 17:39
@gjsjohnmurray
Copy link
Contributor

With this change does the argv json setting really become redundant, as Gabriel's comment on the issue implies? I am away from my desk so unable to test.

@isc-bsaviano
Copy link
Contributor Author

@gjsjohnmurray There's more context to what he is saying. The issue we ran into is that activation failed when the argv setting wasn't present, when the expected behavior is that all non-proposed features would be enabled and the extension would activate successfully. We still expect that the argv setting is required to use the proposed APIs, but we expect that with this PR it won't be required to activate a beta or dev vsix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants