-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Implement MSC3051 to support multiple relations per event #16111
base: develop
Are you sure you want to change the base?
Conversation
Don't forget to sign-off on your changes. Shout if you want us to run CI, but seems like this is very much WIP so far. |
Yes, I'll rebase it later anyway. Is there a simple way to debug internal server errors in tests? |
Look in the |
This passes tests now, but I'm not sure which new tests I should add. More importantly, there are a bunch of "XXX" comments where I'm not confident whether the existing checks should be relaxed with the introduction of multiple relations per an event. Overall I suppose this isn't "too big" of a change in terms of backwards compatibility. |
This allows using m.relations in place of m.relates_to for listing multiple relations for a single event. Signed-off-by: chayleaf <[email protected]>
ddfb280
to
d9876b6
Compare
Signed-off-by: chayleaf <[email protected]>
@chayleaf Are you looking for a review on this PR? (I'm guessing no since it was marked as a draft.) |
yes, sorry, I thought it's fine but it still has some bugs which I found by adding new tests |
It seems there's considerable interest in MSC3051 - scalable relations (multiple relations per event in an array) as the limits of the current model become more and more apparent. This is a WIP attempt to implement it (there's no tests yet).
Pull Request Checklist
EventStore
toEventWorkerStore
.".code blocks
.(run the linters)