mirror of
https://github.com/encounter/JSONAPI.git
synced 2026-03-30 11:18:38 -07:00
fc78958f76
When all relationships are optional, the `relationships` key is also optional and not required in the structure. I'm not super happy with importing Foundation and creating new objects any time a key is missing, but ultimately none of my attempts at conditional generics worked out for me.