-
Couldn't load subscription status.
- Fork 20
Closed
Labels
scope:breaking-changeBreaking change, users will need to update their codeBreaking change, users will need to update their codetype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to userstype:tech-debtImproves the project without visible changes for usersImproves the project without visible changes for users
Milestone
Description
What's needed?
We need to make sure type hinting catches as many bugs as possible. ChannelRegistry is currently using Any as the message type when creating Senders and Receivers, which make all type hinting beyond that point useless, as Any will satisfy any type.
For example, we got this bug unnoticed for quite a while because of this issue:
Proposed solution
Make ChannelRegistry generic. We might need to create a registry of registries to use different types though.
Use cases
No response
Alternatives and workarounds
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
scope:breaking-changeBreaking change, users will need to update their codeBreaking change, users will need to update their codetype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to userstype:tech-debtImproves the project without visible changes for usersImproves the project without visible changes for users
Type
Projects
Status
Done