PhrontHQ / mod

Other
0 stars 1 forks source link

Should converter have an optional validator object? #7

Open marchant opened 2 months ago

marchant commented 2 months ago

Some subclasses already do, like DateConverter or NumberConverter, using it to validate the value passed to their revert method. This code should be part of converter's generic revert implementation