@hongminhee洪 民憙 (Hong Minhee)
yes. I can't think of a reason to have different behaviour for certain properties (like tag) based on the type of ActivityPub object.
@hongminhee洪 民憙 (Hong Minhee)
in #FedBOX and #GoActivityPub there's a cascading of behaviour for each ActivityPub object type, so you can call code on a Person/Group/etc, making the assumption that it has the more limited shape of a regular Object.
Since Go doesn't have more fancy types of polymorphism, I had to use some very ugly work arounds to be able to make this work. :( Sometimes I wish I was still working on a more powerful typed language, or a dynamic typed one.
If you have a fediverse account, you can quote this note from your own instance. Search https://metalhead.club/users/mariusor/statuses/114154317539483390 on your instance and quote it. (Note that quoting is not supported in Mastodon.)