-
Notifications
You must be signed in to change notification settings - Fork 221
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
Unable to deserialize unsigned integers #357
Comments
Hi! Can you tell me where exactly that error gets thrown? |
Unfortunately, no, I was unable to trace the origin down. |
I mean in the above code. |
Sorry... totally misunderstood you. There error is returned from |
I just added a testcase derived from your code in #359. Lets see whether I can reproduce your issue... but so far it looks like I can't! |
Yep, I cannot reproduce your issue... Maybe I've missed something, feel free to have a look at #359 and review whether it is equal to your code. |
Only difference I can see is the switch from |
That is because a |
Wondering if there might be a difference in the logic when |
Yes. |
After cloning the repository and patching the source into my project with [patch.crates-io]
config = { path = "../config-rs" } everything works as expected. So there must be some change from |
Can you please do some more testing? Does 7db2e8b this exact patch maybe fix your issue? If it does, I can release this as |
2d74d06 is the first commit which works for me. |
Okay, can you test the release-0.13.x branch on my personal repository? If that's it, I will use that to make the |
That branch works. |
Awesome. |
0.13.2 was just released. I'm closing this issue for now, feel free to open a new one if need be. |
When implementing
config::ValueKind
for a custom type, the errorinvalid type: unsigned integer 64 bit '128', expected an signed 64 bit or less integer for key 'inner.unsigned'
is thrown if the custom type contains a unsigned integer. The following is a minimum example:The text was updated successfully, but these errors were encountered: