We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add a mirror version of the Unmarshal method to turn a struct into a resource.PropertyMap.
resource.PropertyMap
As an optional extension, this would be great if it supported setting secrets and unknowns in a way that is also returned by the Unmarshal method e.g.
resourcex.Marshal(typedInputs, marshalOption.WithSecrets("prop.subProp"), marshalOption.WithSecretPaths(resource.PropertyPath{"prop", 0, "subProp"}), marshalOption.WithUnknown("prop.propWithoutValue"))
The text was updated successfully, but these errors were encountered:
resourcex.Unmashal
This essentially already exists, it's just not exposed.
The Unmarshal function is:
Unmarshal
pulumi-go-provider/infer/internal/ende/ende.go
Lines 28 to 38 in 9fbffb6
The resulting encoder does lossless marshaling with all marshalOptions applied:
marshalOption
Line 291 in 9fbffb6
Sorry, something went wrong.
No branches or pull requests
Add a mirror version of the Unmarshal method to turn a struct into a
resource.PropertyMap
.As an optional extension, this would be great if it supported setting secrets and unknowns in a way that is also returned by the Unmarshal method e.g.
The text was updated successfully, but these errors were encountered: