Resultify generate reports

This is part of AT-646.
Isn't it a memory leak to memoize on self?

On 11/10 11:09 AM, Nathaniel Nutter wrote:
> > @@ -41,7 +63,15 @@ sub plan {
> >  }
> >  Memoize::memoize('plan');
> >  
> > -sub execute {
> > +sub translations {
> > +    my $self = shift;
> > +    my $provider = Genome::VariantReporting::Framework::Component::RuntimeTranslations->create_from_json($self->provider_json);
> > +
> > +    return $provider->translations;
> > +}
> > +Memoize::memoize('translations');
> 
> The trade-off doesn't seem obvious to me though I too am a bit concerned by memoizing on `$self`.
> 
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/genome/genome/pull/193/files#r20104349