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 release fixes a bug in the v1.4.0 release that caused nested attribute structs decorated with json annotations to stop being marshaled as they were in previous releases.
Structs used to represent nested attributes may now be decorated with jsonapi annotations for marshaling, just as they could for unmarshaling, which can lead to more consistent types or better type reuse by @brandonc#28
Known issue: Nested object attributes decorated with json no longer marshal as they did prior to release 1.4.0. A patch release will be created soon that maintains compatibility with json annotations.
Allow attributes to be marshalled for relations (#12) Any relations with non-zero attributes and non-zero primary field will now be marshaled with those attributes included (instead of just id and type), for the purposes of nested resource creation. This is not a 1.0 compliant feature, but influenced by the same behavior in the now-pending 1.1 specification.
Polymorphic relationships may now be encoded and decoded using a new field tag "polyrelation" (#13)