mirror of https://github.com/abpframework/abp.git
Browse Source
Avoids invalid casts when the provided args are not of runtime type TArgs. The method now checks for a direct TArgs instance and calls EnqueueAsync directly; otherwise it serializes and deserializes the args via Serializer to produce a TArgs instance before enqueuing. This preserves the fast path for matching types while safely handling boxed or different runtime argument representations.pull/25059/head
1 changed files with 7 additions and 1 deletions
Loading…
Reference in new issue