You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Originally posted by iPazooki February 6, 2025
In the AwaitableFactory.cs file, the TryGet method may return null, which is not considered good practice. To address this issue and prevent potential null reference exceptions, I recommend changing the return type to IAwaitableFactory?. This indicates that the return value can be nullable, alerting developers that they need to handle this scenario appropriately. Subsequently, we need to change five more places because of this change which is not a big deal.
The text was updated successfully, but these errors were encountered:
Discussed in #1529
Originally posted by iPazooki February 6, 2025
In the AwaitableFactory.cs file, the
TryGet
method may returnnull
, which is not considered good practice. To address this issue and prevent potential null reference exceptions, I recommend changing the return type toIAwaitableFactory?
. This indicates that the return value can be nullable, alerting developers that they need to handle this scenario appropriately. Subsequently, we need to change five more places because of this change which is not a big deal.The text was updated successfully, but these errors were encountered: