-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Should concat() support lists of complex types? #7146
Comments
I don't have a use case that actually works :) I ran into the crash when I was trying to find a way to use multiple sources of values to configure an aws_elastic_beanstalk_environment.setting field. I couldn't find a way to use variable data in the setting, so I don't currently have a use for concat on complex variable types. |
This is fairly incompatible with the type checker in HIL, since |
I think the return type for A shot at target semantics:
|
Looks like this was fixed by the mentioned pr? |
@phinze Im not following what the overall decision here was. Is Using 0.9.6, Im trying to do the following:
Although im getting the following error:
Im pretty sure this will work if I just pass it a var of list of maps instead of trying to construct a default list with a map object and appending any additional maps to it. Is this a separate bug or expected concat behavior? |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Over in #7145 I've submitted a fix for the reported panic in #7030. This fix is the stop gap measure of properly reporting the lack of support in
concat()
for anything but lists of strings.We should decide what we want the semantics of
concat()
to be for the following:It would also help us decide how to prioritize making this functionality work if we could gather together a few use cases for the various scenarios.
The text was updated successfully, but these errors were encountered: