Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clean up in-kernel services API #1795

Merged
merged 28 commits into from
Apr 26, 2023
Merged

Clean up in-kernel services API #1795

merged 28 commits into from
Apr 26, 2023

Conversation

hannobraun
Copy link
Owner

Add a top-level API to Services (which currently consists of a single method, insert_object). This enables a simplification of service subscriptions, also included in this pull request. Now, services no longer know anything about subscriptions. It is the top-level Services struct that handles all that, routing objects to other services as required.

The complexity that was necessary to make the previous subscription model work was getting in the way of my work on #1713, which triggered this cleanup.

This is preparation for simplifying services subscriptions.
Eventually, this will be needed to display history in the app. But for
now, it's not being used, and it's getting in the way of other changes
I'm making.

It can be re-added later, as needed, and then, it'll hopefully be
clearer how to better integrate it with the rest of the design.
The complexity is no longer needed, thanks to the simplified
subscription model.
@hannobraun hannobraun enabled auto-merge April 26, 2023 10:04
@hannobraun hannobraun merged commit 1aa2509 into main Apr 26, 2023
@hannobraun hannobraun deleted the services branch April 26, 2023 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant