-
Notifications
You must be signed in to change notification settings - Fork 72
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
Test issue#93. Error in []Struct properties #94
Test issue#93. Error in []Struct properties #94
Conversation
tests/kallax.go
Outdated
@@ -1765,6 +1767,8 @@ func (r *JSONModel) Value(col string) (interface{}, error) { | |||
return r.Foo, nil | |||
case "bar": | |||
return types.JSON(r.Bar), nil | |||
case "baz_slice": | |||
return types.Slice(r.BazSlice), nil |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the problem might be this. It should be types.JSON
, not types.Slice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it is!!
now, lets see how to fix that autogenerated code :D
I think it's now solved @erizocosmico |
Codecov Report
@@ Coverage Diff @@
## master #94 +/- ##
=======================================
Coverage 80.72% 80.72%
=======================================
Files 15 15
Lines 2241 2241
=======================================
Hits 1809 1809
Misses 293 293
Partials 139 139
Continue to review full report at Codecov.
|
described by #93