Closed
Description
Currently, it is necessary to read the source to understand how to implement ToSql
. Even then, one has to access #[doc(hidden)]
code to keep with the style of the other implementations (is there a reason the to_sql_checked
method can't have a default impl, or be part of an extension trait?).
Is it actually discouraged to implement ToSql
for types local to ones crate, or is this just something that should be allowed, but nobody has bothered to make it a nice experience?
Metadata
Metadata
Assignees
Labels
No labels