Support noParent aliases with name
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
Currently this case is not representable in the SDK, although the protobuf model for aliases allows it. It looks like a small omission from the SDK, which only allows Alias.noParent() or Alias.builder().build() that never sets noParent=true.
Alias(name="foo", noParent=true)
See also https://github.com/pulumi/pulumi/blob/master/proto/pulumi/alias.proto
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 by inspecting the Java SDK's Alias implementation and comparing its available constructors or builders with the alias.proto model linked in the issue. Confirm how Alias.noParent() and Alias.builder().build() currently behave, then ensure the named-alias and noParent combination can be represented and covered by the relevant SDK tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100