[4.0.0] Require users to explicitly define StringType, etc. #3603
falbrechtskirchinger
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm in the process of debugging #3602. It seems that it would be beneficial if users were required to explicitly tell the library what types are StringTypes, etc.
Just because a type is constructible from a string doesn't make it a string type. This can lead to the compiler selecting (or trying to select and failing) the wrong
from_json
function.Leaving this here to be fleshed out at a later date.
Beta Was this translation helpful? Give feedback.
All reactions