You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, each element of the array is passed as a positional argument instead of splatted as keyword arguments. Any ideas of how to write map in a way that it splats the element and assumes it's a dictionary that should be converted into keyword arguments?
Should this be an additional map variant added to the library? Happy to write up a PR for it.
The text was updated successfully, but these errors were encountered:
What I'd like to do is instead of writing something like:
I could instead create a partial on the method call and then just pass it to map:
However, each element of the array is passed as a positional argument instead of splatted as keyword arguments. Any ideas of how to write map in a way that it splats the element and assumes it's a dictionary that should be converted into keyword arguments?
Should this be an additional map variant added to the library? Happy to write up a PR for it.
The text was updated successfully, but these errors were encountered: