Or... I don't understand how to use it. There are no specs for it, so it's hard to know which is the case. I'm trying to use it to assert that a certain relationship is present in the JSON. The problem is, the json_item helper doesn't pull the data['relationships'] over, and so the json_related_link helper fails b/c payload['relationships'] is nil.
I tried to fix the json_item helper to bring the relationships over, but then I'd need to update the associated payload registration b/c there was an unaccounted for key. At that point I determined that I didn't fully understand how things were intended to work. Thus, an Issue rather than a PR. ☹️
Or... I don't understand how to use it. There are no specs for it, so it's hard to know which is the case. I'm trying to use it to assert that a certain relationship is present in the JSON. The problem is, the
json_itemhelper doesn't pull thedata['relationships']over, and so thejson_related_linkhelper fails b/cpayload['relationships']isnil.I tried to fix the☹️
json_itemhelper to bring the relationships over, but then I'd need to update the associated payload registration b/c there was an unaccounted for key. At that point I determined that I didn't fully understand how things were intended to work. Thus, an Issue rather than a PR.