[api/suggestion] builders for CustomResourceArgs in sdk
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 85
- Forks
- 26
- Avg merge
- 11h 49m
- Merged PRs (30d)
- 22
Description
Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
I found that StackReferenceArgs was missing a builder. I'd like to make sure there is consistency between the pulumi SDK and provider SDKs such that if there always a builder option no matter how trivial.
A firm solution for this would be making ResourceArgs an abstract base class and requiring a builder and then we would get compilation errors if a class was missing a Builder.
Affected area/feature
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with sdk/jvm/pulumi/src/main/java/io/pulumi/resources/ResourceArgs.java and compare the builder situation for StackReferenceArgs and CustomResourceArgs. Clarify whether every ResourceArgs subtype should require a builder, then define the affected classes and tests needed to demonstrate consistent builder availability.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100