Closed ekosz closed 7 years ago
@ekosz Can you add a test to client_test.rb
? What happens if you include Roar::JSON
and then Roar::JSON::JSONAPI
?
Feel free to PR fixed README, that would be greatly appreciated! :heart:
This issue was moved to trailblazer/roar-jsonapi#15
Given the code
When I run
I get the error
I then tried replacing
Roar::JSON::JSONAPI
withRoar::JSON
in the client (as it does have#deserialize
there) but I then got this error instead:As an aside, I also noticed the current README is out of date in a few locations regarding JSON-API. For example the README refers to the JSON-API module as
Roar::JSON::JsonApi
but in the source itsRoar::JSON::JSONAPI
.