active_model_serializers/lib/active_model/serializer/adapter/json_api
Yohan Robert 3cbc0541c1 Fix bug displaying nil for relationship link href
When using the relationship link with a block, calling "meta" without "href", e.g.
has_one :bio do
  link :related do
    meta id: 1
  end
end

results in in a nil "href", e.g.
{ links: { posts: { related: { href: nil, meta: { id: 1 } }  } } }.
According to JSONAPI, we should be able to use meta without href
(http://jsonapi.org/format/#document-links).
2016-02-15 09:26:53 +01:00
..
api_objects Follow up to #1454 2016-02-10 12:57:54 +01:00
api_objects.rb Follow up to #1454 2016-02-10 12:57:54 +01:00
deserialization.rb Add support for JSON API deserialization (experimental). 2016-01-13 05:48:06 +01:00
fragment_cache.rb Introduce Adapter::Base 2015-09-20 12:26:04 -05:00
link.rb Fix bug displaying nil for relationship link href 2016-02-15 09:26:53 +01:00
meta.rb Clean up meta handling. 2016-01-20 01:00:14 +01:00
pagination_links.rb rename context to serialization_context 2015-11-07 20:32:27 +01:00