-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add try_from
attribute for FromRow
derive
#1081
Conversation
I don't like |
|
@zzhengzhuo I'm really sorry for leaving this open for so long, when PRs get buried on the second page of results it gets easy to forget about them. Do you mind rebasing on |
c378b18
to
be6a4bd
Compare
@abonander Sorry for the delay getting back to you as I am having a busy time. I have rebased on main, please check it. |
But when I run tests, it reports error:
I don't know why. |
@zzhengzhuo what database are you testing against? I'm seeing identical (passing) results without/with your changes I also tried rebasing on main again, but the merge conflicts are nontrivial |
@zzhengzhuo sorry for the delay again, the |
@abonander sorry for delay. Please check. |
@zzhengzhuo it's passing but now there's merge conflicts, do you have time to resolve those? |
Great, glad to finally land this! |
@zzhengzhuo @abonander as a Plain Old User eagerly awaiting this, I appreciate both of you taking the time to get it merged |
|
This is used for converting type in FromRow.And I am not sure whether it is worth and just for discussing.
Example
issues
There is another attribute
with
for type converting.Maybe I will open another issue for discussing.Example for with