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

core: Simplify custom bootstrap #1404

Merged
merged 1 commit into from
Jun 21, 2024
Merged

core: Simplify custom bootstrap #1404

merged 1 commit into from
Jun 21, 2024

Conversation

kim
Copy link
Contributor

@kim kim commented Jun 12, 2024

Lifecycle management is simplified enough to render the post_boot
closure obsolete. Instead the ModuleHost is returned, which allows
calling reducers on it.

Even though the method remains useful mainly for control db
bootstrapping, it seems general enough to be part of HostController's
API.

Expected complexity level and risk

1

Lifecycle management is simplified enough to render the `post_boot`
closure obsolete. Instead the `ModuleHost` is returned, which allows
calling reducers on it.

Even though the method remains useful mainly for control db
bootstrapping, it seems general enough to be part of `HostController`'s
API.
@bfops bfops added release-any To be landed in any release window breaks library compatibility This change breaks the SpacetimeDB library interface labels Jun 17, 2024
Copy link
Contributor

@cloutiertyler cloutiertyler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. Appreciate the simplification

@kim kim added this pull request to the merge queue Jun 20, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 20, 2024
@kim kim added this pull request to the merge queue Jun 21, 2024
Merged via the queue into master with commit c19c0d4 Jun 21, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaks library compatibility This change breaks the SpacetimeDB library interface release-any To be landed in any release window
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants