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
With implicit generics it would make for more concise code if the public static methods for Success/Fail were moved up from Result<T> to Result.
The code would go from
Result<MyObject>.Success(obj);
to
Result.Success(obj);
Not a big change but this was a quality-of-life improvement for me so I thought I would share. I could make a pull request implementing this if desirable.
The text was updated successfully, but these errors were encountered:
With implicit generics it would make for more concise code if the public static methods for Success/Fail were moved up from
Result<T>
toResult
.The code would go from
Result<MyObject>.Success(obj);
to
Result.Success(obj);
Not a big change but this was a quality-of-life improvement for me so I thought I would share. I could make a pull request implementing this if desirable.
The text was updated successfully, but these errors were encountered: