of container method. This lambda will be executed when container gets created/interacted
m
Mikolaj Leszczynski
06/14/2021, 7:07 AM
this, and also the
container
needs to be stored in a field, you have a custom getter which will create a new container with every intent
👍 2
a
appmattus
07/07/2021, 10:33 PM
@Mikolaj Leszczynski I wonder if we could create a lint rule to spot this setup of a container? Possibly maybe able to create one around init too,although will be harder to figure out if it’s executing an intent block?