vt-elixir / ja_serializer

JSONAPI.org Serialization in Elixir.
Other
640 stars 148 forks source link

Empty "relationship object" #278

Closed bundsol closed 6 years ago

bundsol commented 6 years ago

According to the specification

A “relationship object” MUST contain at least one of the following

But I have been receiving members in the 'relationships' field that are totally empty objects. Something like

relationships: { orders:{} }

johanb commented 6 years ago

This is a duplicate of https://github.com/vt-elixir/ja_serializer/pull/235

bundsol commented 6 years ago

Thank you johanb. I hadn't seen it.