Skip to content
This repository has been archived by the owner on Jul 18, 2023. It is now read-only.

Status on v2 of the library #65

Closed
julealgon opened this issue May 4, 2022 · 3 comments
Closed

Status on v2 of the library #65

julealgon opened this issue May 4, 2022 · 3 comments
Labels

Comments

@julealgon
Copy link

In another issue, it was mentioned that Guard v2 would probably be coming by March.

This question is to check on the current status of v2, and if there is any ETA for when it will be released.

Now that the .NET team has abandoned the !! null-check operator it would be nice to have Guard to unify all exception handling, however I'm hesitant in using it in its current form because it doesnt yet support caller expression names to automatically add the argument names to the exceptions: moving to Guard would be a downgrade compared to things like ArgumentNullException.ThrowIfNull for the common null handling.

Since !! was scheduled for .NET 7, I was contemplating the idea of just not using a library for exception throwing, as most of the exceptions we throw are ArgumentNullExceptions. With the decision to postpone that feature, I think it becomes valuable again to rely on Guard, but I wanted to do so without extra compromises.

@julealgon
Copy link
Author

@safakgur are you not maintaining the library anymore? I'm not seeing any recent changes, and you are not replying to these issues.

If you decided to abandon it, please let the community know and potentially transfer your ownership to somebody else.

@sgf
Copy link

sgf commented Mar 9, 2023

@safakgur

@safakgur
Copy link
Owner

I'm retiring Guard - I apologise for any inconvenience, and thank you for all the support. The readme has details.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants