Home | Notifications | New Note | Local | Federated | Search | Logout

Note Detail


Reply to @julian@fietkau.social
silverpill@silverpill@mitra.social (2026-04-04 19:01:56)
@julian This seems to be in conflict with property-based collection creation. It is not clear how a server should process an inlined collection (create an empty collection? create a collection with specified items? remove the property?). If I remember correctly, this is not supported in GoActivityPub

cc @mariusor
---Reply--- marius@mariusor@metalhead.club (2026-04-04 19:14:43) @silverpill I haven't really explored how embedded collections would work really from a technical point of view.

As an implementation detail in GoActivityPub collections are composed of two parts, an Collection/OrderedCollection document and its items/orderedItems elments that get saved separately and are linked to the collection by their IRIs(*).

So, a JSON document (with removed items/orderedItems) and a list of IRIs linking to the elements of the collection.

I'm not sure I could magick some logic that could convert embedded collections to this structure...

(*) I don't remember what happens with anonymous objects in collections. 🤷

@julian
Reply

---Replies---
Julian Fietkau@julian@fietkau.social (2026-04-04 19:24:04)
@mariusor @silverpill I might be hazy on the goal of this FEP.

If it wants to establish new guidelines (that are particularly beneficial for specific implementation architectures) I'm all for writing that down, but then the intro sentence would need to be revised.

I was going to point at my own actor document noting that Mastodon inlines the `featured` collection, but I guess it doesn't do that anymore. Am I behind the times after all? 😅