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

Make all resource output properties required #2422

Merged
merged 6 commits into from
May 24, 2023

Conversation

lblackstone
Copy link
Member

Proposed changes

Previously, the resource properties were not represented consistently across all Pulumi SDKs. In particular, the .NET and NodeJS SDKs represented all resource output properties as required, while Go, Python, and Java represented them as optional. This inconsistency causes problems for multi-language features and documentation.

This change unifies all SDKs to mark every top-level resource output as a required property.

Related issues (optional)

Fix #1650

@lblackstone lblackstone requested a review from a team May 23, 2023 15:24
@github-actions
Copy link

Does the PR have any schema changes?

Found 2 breaking changes:
Resource "kubernetes:helm.sh/v2:Chart" missing
Type "kubernetes:helm.sh/v2:FetchOpts" missing
No new resources/functions.

Previously, the resource properties were not represented consistently across all Pulumi SDKs. In particular, the .NET and NodeJS SDKs represented all resource output properties as required, while Go, Python, and Java represented them as optional. This inconsistency causes problems for multi-language features and documentation.

This change unifies all SDKs to mark every top-level resource output as a required property.
@lblackstone lblackstone merged commit 630a747 into v4 May 24, 2023
17 checks passed
@lblackstone lblackstone deleted the lblackstone/required-props branch May 24, 2023 15:31
lblackstone added a commit that referenced this pull request Jul 14, 2023
Previously, the resource properties were not represented consistently across all Pulumi SDKs. In particular, the .NET and NodeJS SDKs represented all resource output properties as required, while Go, Python, and Java represented them as optional. This inconsistency causes problems for multi-language features and documentation.

This change unifies all SDKs to mark every top-level resource output as a required property.
lblackstone added a commit that referenced this pull request Jul 14, 2023
Previously, the resource properties were not represented consistently across all Pulumi SDKs. In particular, the .NET and NodeJS SDKs represented all resource output properties as required, while Go, Python, and Java represented them as optional. This inconsistency causes problems for multi-language features and documentation.

This change unifies all SDKs to mark every top-level resource output as a required property.
lblackstone added a commit that referenced this pull request Jul 17, 2023
Previously, the resource properties were not represented consistently across all Pulumi SDKs. In particular, the .NET and NodeJS SDKs represented all resource output properties as required, while Go, Python, and Java represented them as optional. This inconsistency causes problems for multi-language features and documentation.

This change unifies all SDKs to mark every top-level resource output as a required property.
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