joewledger / gaia

2 stars 0 forks source link

Stop using hasattr to check if action is correct type #34

Closed joewledger closed 5 years ago

joewledger commented 5 years ago

Instead, use interfaces, and check if the action passed in implements that interface.