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

Stop using Get/SetRootResource in dotnet #9515

Merged
merged 2 commits into from May 3, 2022
Merged

Conversation

Frassle
Copy link
Member

@Frassle Frassle commented May 3, 2022

Description

There's no reason to use this engine call in dotnet, the engine address and the root stack resource are both global variables. No point roundtripping through the engine.

Plan is to also remove this from nodejs (node does have true global variables, so we'll just use that) and then eventually kill this from the engine (probably a 4.0 change).

Checklist

  • I have added tests that prove my fix is effective or that my feature works
  • Yes, there are changes in this PR that warrants bumping the Pulumi Service API version

There's no reason to use this engine call in dotnet, the engine address and the root stack resource are both global variables. No point roundtripping through the engine.
@Frassle Frassle requested review from t0yv0 and Zaid-Ajaj May 3, 2022 11:34
Copy link
Contributor

@Zaid-Ajaj Zaid-Ajaj left a comment

Choose a reason for hiding this comment

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

Good one, let's get this in ✅

@Frassle Frassle merged commit adad9d4 into master May 3, 2022
@pulumi-bot pulumi-bot deleted the fraser/dotnetRootResource branch May 3, 2022 14:12
abhinav pushed a commit to pulumi/pulumi-dotnet that referenced this pull request Jan 11, 2023
* Stop using Get/SetRootResource in dotnet

There's no reason to use this engine call in dotnet, the engine address and the root stack resource are both global variables. No point roundtripping through the engine.

* Add to CHANGELOG
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.

None yet

2 participants