Closed diminish7 closed 8 years ago
You are right indeed. I initially expressed all the negated conditions and that one creeped through the change. Would you mind issuing a PR for fixing that? If not, I'll do it over the weekend. Thanks for reporting it!
Yep, will do! (Probably tomorrow-ish)
@beauby PR'd (#48) Thanks!
Thanks a lot @diminish7 – will review it tonight!
This assertion here: https://github.com/beauby/jsonapi/blob/master/parser/lib/jsonapi/parser/document.rb#L126
That assertion currently fails when the resource identifier has both
id
andtype
. Based on what the error message is, I think it should test for equality rather than inequality: