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
Replace argument validation library Dawn.Guard with Throw library. Refactor corresponding domain validations and use the occasion to improve them.
Context
Because the library Dawn.Guard has been abandoned by its author, it became required to find an alternative that allows to do something similar and that also gets good maintenance support from its author.
For this purpose, the library Throw from Amichai Mantinband is a very good candidate since it's been conceived taking Dawn.Guard as reference but also allows some extra features.
It was considered the use of GuardClauses, but its syntax and features made it less appealing than Throw.
Also, since it will be needed to refactor all the current domain validations, we can use the occasion to improve them and add some more of them on places where there should be some validations.
This will also require to refactor unit tests and improve them to cover different scenarios that were currently not taken into consideration.
The text was updated successfully, but these errors were encountered:
Detailed Description
Replace argument validation library Dawn.Guard with Throw library. Refactor corresponding domain validations and use the occasion to improve them.
Context
Because the library Dawn.Guard has been abandoned by its author, it became required to find an alternative that allows to do something similar and that also gets good maintenance support from its author.
For this purpose, the library Throw from Amichai Mantinband is a very good candidate since it's been conceived taking Dawn.Guard as reference but also allows some extra features.
It was considered the use of GuardClauses, but its syntax and features made it less appealing than Throw.
Also, since it will be needed to refactor all the current domain validations, we can use the occasion to improve them and add some more of them on places where there should be some validations.
This will also require to refactor unit tests and improve them to cover different scenarios that were currently not taken into consideration.
The text was updated successfully, but these errors were encountered: