https://pantsbuild.org/ logo
#development
Title
# development
a

average-vr-56795

10/18/2018, 10:52 AM
Lack of collection merging and splitting as first class concepts is a bit fiddly… I initially wrote:
@rule(GenericTestResult, [Select(HydratedTarget)])
and found that that doesn’t work because I can’t actually get a
HydratedTarget
, I can only get a
HydratedTargets
over which I can iterate, which in turn means my rule needs to return a
GenericTestResults
not a
GenericTestResult