We now have a type that routes an activity through the registered handlers
until one of them matches.
Each Actor/Activity/Object combination is represented by an implementation of AsObject
These combinations are then registered on the Inbox type, which will try to deserialize
the incoming activity in the requested types.
- nicer syntax: the final API is clearer and more idiomatic
- more generic: only two traits (
AsObject) instead of one for each kind of activity
- we always try to dereference unknown objects
- it is easier to see which activities we handle and which one we don’t
(sorry for the big diff once again 😕)