I’ll start off by saying I’m new to Ember so if this is supported in another way then I welcome clarification.
I ran into a use case where I needed the total of values from related ED models. However, I discovered that I basically needed to loop through each relation to add its value to the total, using reduce:
Doesn’t seem to work for me, but again maybe I’m just doing it wrong. I would imagine other computed helpers would benefit from this functionality as well.
Yes, that does work when enabling the feature flag. It certainly is a step in the right direction, thanks for bringing it up! It actually brings up a thought, could the @each tokens in the dependancyKey automatically be converted to a mapBy computed helper.?. I’m not too familiar with the inner workings of Ember just yet, but would certainly be willing to dig into it if someone could point me in the right direction. It just seems like it should naturally work as the “Ember way”.