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

Simplify Typings for Subscribe Events #5

Merged
merged 1 commit into from
Oct 7, 2021
Merged

Conversation

christoph-fricke
Copy link
Owner

The previous subscribe events tried to fully model the events that can be received by the provided reference. This caused type problems further down the line when subscribe is actually used to subscribe to subscribe-able actors. Furthermore, the full typed model was already replaced with AnyEventObject by higher subscription mechanisms since they were unable to fully predict the event type for all handled subscribers.

To avoid the previous problems and unnecessary complexity, the event that can be received by the reference are now modeled as any.

@christoph-fricke christoph-fricke added the bug Something isn't working label Oct 6, 2021
@christoph-fricke christoph-fricke merged commit daa1ac8 into main Oct 7, 2021
@christoph-fricke christoph-fricke deleted the cfr/typing branch October 7, 2021 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant