-
Notifications
You must be signed in to change notification settings - Fork 63
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
Json deconing throws nil dereference #141
Comments
Could you post a code same that I could use to reproduce this? The panic on line 43 is ostensibly because the recover is nil, which is likely due to the generated code. I’m not familiar with sqlboiler. |
I am sorry for not providing the code.
If I invoke scan on the Price before decoding I do not get the error. |
Hm. Sounds similar to volatiletech/sqlboiler#404. Perhaps I should revisit that issue. |
I've corrected this as ericlagergren suggested in his PR to sqlboiler. Will be in the dev branch for now and included in a later release. |
Hi @aarondl , do we have an update about this issue? If this is already fixed, do we know already when it will be merged? |
@jbactad Hi, |
@jbactad As far as I'm concerned this is fixed already in master v3.6.0 |
Hi,
I am seeing and error from this lib at this line
github.com/ericlagergren/[email protected]/scan.go:43 +0x9e
The error occurred when using json decoder on a model generated by sqlboiler.
The text was updated successfully, but these errors were encountered: