No, seriously, what the hell am I supposed to do with this object when it can literally be any of
A URI
An object
A list of either of those
A list that contains both of those.
An object of type collection which then contains either/both
Like…
just…
even a peripheral attempt here requires either/both just chucking a bunch of it out of the window and declaring an actual object model or building a billion custom serializers.
@hrefna
"what the hell am I supposed to do with this object..."?
Read the Mastodon source and do whatever it does, presuming you want something useful rather than correct. 🙄 Alternatively, run away and start a chicken ranch. Chickens make much more sense than AP. 😜
Add comment