Akka.Actor: raise error if someone tries to handle ISystemMessage
inside TellInternal
#116
Labels
AK2000
API usage rules
ISystemMessage
inside TellInternal
#116
Is your feature request related to a problem? Please describe.
This is more of an issue for internal Akka.NET implementation use, but if someone defines a custom
IActorRef
implementation this would be an issue for them too.See https://youtu.be/uI4SVsgLoAY?si=uQDUdKyE0ySKiV1C&t=839 for an example of where this caused a bug inside our
Ask<T>
implementation for yearsDescribe the solution you'd like
Need to flag that
TellInternal
is the wrong part of theIActorRef
to handleISystemMessage
- that needs to go inside ofSendSystemMessage
instead.Describe alternatives you've considered
Making a separate internal analyzer package for Akka.NET maintainers for enforcing internal standards with the framework itself.
The text was updated successfully, but these errors were encountered: