Commit Graph

4 Commits

Author SHA1 Message Date
Benjamin Fleischer
68720cef4d Confirmed difference from jsonapi vs AMS not significant
pretty clear now that the ONLY difference
rendering a `user` with `include: 'posts.comments'`
is that the included post's user relationship
in jsonapirb is `meta: { included: false }`
and AMS is `data: { id: 1, type: users}`

which I guess is to avoid the user's
post's comment from looking up the user?

similarly, the included comment's post relationship
for jsonapi-rb is `meta: { included: false}`
and AMS is `data: { id: 2, type: posts }`

took a bit of jq and diff to figure this out
2017-10-13 23:16:58 -05:00
Benjamin Fleischer
4bb5272b77 Fancier compare 2017-10-13 22:53:55 -05:00
Benjamin Fleischer
9a58ab1000 Compare by pattern 2017-10-13 22:43:12 -05:00
Benjamin Fleischer
0f8d447969 Compare bash 2017-10-13 22:24:18 -05:00