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
My proposal is to add a boolean switch on the [StronglyTypedId] attribute that would indicate if the generator should generate the default constructor that accepts the BackingType value.
That way someone could provide his own custom constructor that accepts the BackingType and allow for further customisation of the final Value property.
I found myself in need of this actually only on the string type so far since I wanted to do some extra work to some ids.
If this sounds okay with you I would love to sit and try to implement it myself when I have some time πΈ