pulumi / pulumi/pulumi-java

Support noParent aliases with name

Open
#969 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

area/sdks kind/enhancement language/java
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.