go-fed / activity

ActivityStreams & ActivityPub in golang, oh my!
BSD 3-Clause "New" or "Revised" License
703 stars 112 forks source link

Use 'OrderedCollection' by default for 'likes', 'liked', 'followers', 'following' #69

Closed cjslep closed 5 years ago

cjslep commented 5 years ago

If a client does not specify the IRI or object for the likes, liked, followers, or following properties, right now an error is thrown. It is not clear from documentation or the tutorial that this should be supplied by the client.

Instead, we should by default introduce an OrderedCollection and just append to it as activities are received.

The tutorial on the go-fed site should also contain information about this, so users of the library are aware.

cjslep commented 5 years ago

f8b24eef88aad4ceffc373d4d78f3d15bf19b32f