json_api_client
json_api_client copied to clipboard
Build client libraries compliant with specification defined by jsonapi.org
Hello, I have implemented caching logic in Redis for the json api client resource in order to not request external service every time. In my example this resource is called...
👋 Hello, I noticed that this gem only allows Faraday versions `< 1.2.0`. That gem was recently updated to `1.3.0`: https://rubygems.org/gems/faraday/versions/1.3.0 Would you be open to relaxing that requirement to...
I am not seeing how to define a namespace for a resource. on the server I have something like ```ruby namespace :namespace do json_api_resources :resource end ``` the route this...
Looking at https://github.com/JsonApiClient/json_api_client/pull/386/files, I see that there's shift towards using HashWithIndiferentAccess, however, this change causes a wrong serialization when calling `as_json_api`. Which is causing a lot of tests to break...
Compacts the the returned path array in `_prefix_path` to prevent URI from breaking in case of multiple `belongs_to` assocs. Addresses https://github.com/JsonApiClient/json_api_client/issues/369 I'm not sure why travis is failing. Locally all...
The "Validation Errors" section of the [readme](https://github.com/JsonApiClient/json_api_client#handling-validation-errors) says that `create` returns a falsey value on errors: ```rb User.create(name: "Bob", email_address: "invalid email") # => false ``` This is incorrect: `create`...
Seems like travis-ci.org links will need to be updated to travis-ci.com. That being said I wasn't sure if that means another account would have to be set up on the...
Not sure if there's context I'm missing but the CodeClimate project for this repo seems to be missing from their system. Not sure if something needs to reconfigured on their...
## Steps to reproduce: ```ruby require 'bundler/inline' gemfile(true) do source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } gem 'json_api_client', '1.8.0' end class Resource < JsonApiClient::Resource self.site = 'http://example.com/api' end class Author...