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
The IBSN type has an underlying type string, so it should be easily convertible to string. But the current marshaler implementation for jsonapi:"primary,smth" panics:
This is kinda related to #114, but for types that are literally type T string this library should work without any custom type registration or other redundant efforts.
I think the same may be applied to other primitive types like type T int64, they should be also convertible without any problem; but I haven't implemented them in the PR below.
The text was updated successfully, but these errors were encountered:
hypnoglow
added a commit
to hypnoglow/jsonapi
that referenced
this issue
Nov 21, 2017
Consider the following example:
The IBSN type has an underlying type string, so it should be easily convertible to string. But the current marshaler implementation for
jsonapi:"primary,smth"
panics:Important
This is kinda related to #114, but for types that are literally
type T string
this library should work without any custom type registration or other redundant efforts.I think the same may be applied to other primitive types like
type T int64
, they should be also convertible without any problem; but I haven't implemented them in the PR below.The text was updated successfully, but these errors were encountered: