Open Mierdin opened 7 years ago
I like the execution.result.values
naming
Yeah, I agree, result.result
is quite confusing.
The problem with that change is that it's breaking so we need to figure out a best way to make it backward compatible.
+1 (result.result
just bit me)
In building a custom response for an action alias, I realized that actions report their results via a nested set of
result
keys:So, in my alias response, I had to use
execution.result.result
to refer to values returned by the action.I'm fully acknowledging that I expect that the ratio of value to effort for changing this is probably skewed towards the "not worth it" direction, but figured I'd open the issue anyways to see if it's even worth the discussion. Value:effort aside, it would be nice if the inner attribute was named
values
or something else, other thanresult
.execution.result.values
would definitely look a bit better.