SteveDunn / Vogen

A semi-opinionated library which is a source generator and a code analyser. It Source generates Value Objects
Apache License 2.0
782 stars 46 forks source link

Implicit casts from the primitive now call the `NormalizeInput` method if one is provided #641

Closed SteveDunn closed 2 months ago

SteveDunn commented 2 months ago

The code is updated to integrate support for normalization when casting implicitly. During this implicit casting process, the 'NormalizeInput' method is now called if it is available in the respective class. Corresponding test cases have been added to validate this behavior.