Open davydovanton opened 6 years ago
Hey, I like the third step where you can override it as an argument, but I don't understand how the ProjectAbilityApplication
manages to set a MyLogger
on the Comments
ability object. Are you using a writer internally for that? Because that I think I wouldn't like.
Now we have a simple problem: how to set up default values for each abilities instance in one place?
I sugest to use something like this:
After that we can initialize:
WDYT?
UPD agter small talk with @apotonick: Maybe we need to use instance variable for settings and
#call
for generating a builder class 🤔