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

Serialize Outputs as Output Values #1662

Open
justinvp opened this issue Feb 11, 2025 · 0 comments
Open

Serialize Outputs as Output Values #1662

justinvp opened this issue Feb 11, 2025 · 0 comments
Assignees
Labels
area/sdks SDKs kind/enhancement Improvements or new features
Milestone

Comments

@justinvp
Copy link
Member

justinvp commented Feb 11, 2025

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

We need to add output value marshaling to the Java serializer, along the lines of pulumi/pulumi#8157

// When serializing an InputOutput, we will either
// serialize it as its resolved value or the "unknown value" sentinel.
// We will do the former for all outputs created directly by user code (such outputs always
// resolve isKnown to true) and for any resource outputs that were resolved with known values.

Note: This is actually a little more involved than just emitting an output value when see an instance of Output. In the Java SDK we can end up in situations where there are nested Outputs, and output values aren't intended to be nested.

Affected area/feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/sdks SDKs kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

1 participant