FEP 7888 serving up an OrderedCollection
-
@julian
yes, but they serve objects because we're radical implementors who don't do the whole activities thing
sorry in advance.
What if only the activity is signed (as is often the case) and the object is not fetchable due to let's say some network error? -
-
@julian i see... In general i think in distributed systems it makes a lot of sense to keep the source intact while consuming the data you need. Other projects might need to consume a different set of fields and the overhead is minimal...
@silverpill -
julian:
individual objects serve a
context
property thatcontext
property is a URL that resolvesOne of the concerns raised was related to the OrderedCollection of items served by the
context
. Specifically, if the items presented in the collection were not in chronological order, NodeBB failed at importing some of the items as theinReplyTo
referenced an object that did not exist.The solution to this was to ensure that the collection items were in chronological order from oldest to newest. Once fixed:
the context resolved to an OrderedCollection containing objects NodeBB was able to pull in the entire conversation
Just a note that I endorse @julian's suggested approach here, and this is how the Discourse plugin has implemented its backfill feature.