You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit fixes pointers to type aliases which are currently not
supported.
The new test cases will fail with:
jsonapi: Can't unmarshal foo (string) to struct field `String`, which is a pointer to `StringType (string)`
One other method to fix this when you are able to modify your types is:
type StringType = string
This is the new (since Go 1.9) way to declare type aliasses which treats
the types differently when using reflect.
See: https://github.com/golang/example/tree/master/gotypes#named-types
0 commit comments