-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enable merge invoke. #270
Enable merge invoke. #270
Conversation
0cca2c0
to
ec33a85
Compare
ec33a85
to
3f19c29
Compare
3f19c29
to
4dc0a22
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, merge is generic it should not even be in pulumi-std it throws away all typing information. This should be a pcl intrinsic.
After looking closer at this I think it isn't generic it's dynamic. https://developer.hashicorp.com/terraform/language/functions/merge These objects in the example are dynamic, they can be any kind of map or object, so in that case there is no generic that will necessarily satisfy any requirment unless you manually define a type that happens to be the appropriate merge of two other types |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Talking to Will we'll try going with these std "any" variants for now, I suspect we're going to have to be smarter about types to get good conversions though, but we can test that with seeing how some more top modules convert
87347f9
to
b8bd1ad
Compare
Fixes pulumi/pulumi#18356 Related #65
b8bd1ad
to
1c2e9f5
Compare
Fixes pulumi/pulumi#18356
Related #65