Every resource object MUST contain an id member and a type member. The values of the id and type members MUST be strings.
But the library allows any type to be used for the ID, and what's worse is that the ORM documentation on the README uses an integer for the value of id. I don't believe that jsonapi-requests should allow this at all, and should instead raise an exception when an invalid type is used.
If you are no longer interested in maintaining the project I will fork and fix this myself (as there's several other things I'd like to change). But if you are then you'd be better to fix this issue.
From the spec:
But the library allows any type to be used for the ID, and what's worse is that the ORM documentation on the README uses an integer for the value of id. I don't believe that jsonapi-requests should allow this at all, and should instead raise an exception when an invalid type is used.
If you are no longer interested in maintaining the project I will fork and fix this myself (as there's several other things I'd like to change). But if you are then you'd be better to fix this issue.