Flarum forum software 2.0 will have federation support

Actually, I forgot already added support for adding the collection in either the context or the target of an object (see here). Regarding having the object’s collection in the target this is to allow for supporting those following 400e.

See further

Personally, I think putting it in the context makes more sense (and is more spec compliant), but it’s easy enough to support both.