Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qualify Pulumi.Resource type to stay out of the way of the
resource
…
… API in K8s v1.26.0 (#2237) * Qualify Resource type from Pulumi namespace The next release of Kubernetes (1.26.0) has an API named `resource`. In the .NET codegen, this will end up being a namespace `Resource`, clashing with the type name `Resource` which is implicitly in scope. To avoid this, give the Pulumi namespace an alias and use that to qualify the `Resource` type. Signed-off-by: Michael Bridgen <mbridgen@pulumi.com> * Regenerate .NET SDK using updated templates make build This produces code equivalent to previously, but now the templates alias the Pulumi namespace so the `Resource` type won't clash with any upcoming `Resource` namespace. Signed-off-by: Michael Bridgen <mbridgen@pulumi.com>
- Loading branch information
Showing
7 changed files
with
24 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters