Home | Notifications | New Note | Local | Federated | Search | Logout
Note Detail
Reply to @silverpill@mitra.social
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---
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? 😅
Reply
---Replies---
marius@mariusor@metalhead.club (2026-04-04 19:45:43)
@julian I'm not sure if you're getting confused by a collection that is embedded into an object as a way to reduce request numbers, but still has a dereferenceable ID, and an anonymous collection/object that has no dereferenceable ID, so it can't be independently retrieved.
The first is a representation convenience that shouldn't be impacted by this FEP, and the second is well... unspecified... which leaves us in the same place as before this FEP was created by @silverpill
silverpill@silverpill@mitra.social (2026-04-04 20:12:54)
@julian @mariusor Mastodon probably still inlines the replies collection. But the MUST NOT does't apply to Mastodon because it doesn't implement client-to-server API.
Anyway, I want to change/remove this requirement because it forbids Create(Collection) and Update(Collection) activities where object is embedded.