jsonapi-utils icon indicating copy to clipboard operation
jsonapi-utils copied to clipboard

Build JSON API-compliant APIs on Rails with no (or less) learning curve.

Results 25 jsonapi-utils issues
Sort by recently updated
recently updated
newest added

Updates Pagination/Formatters to check the resource paginator instead of the default paginator. Currently, if you've set a paginator directly on your resource, it's ignored in favor of the default. @tiagopog...

Currently there is no way to pass top-level `meta` objects in the current implementation as it only filters for pagination options, record_count and page_count. This line allows to `jsonapi_render` to...

_First and foremost: thanks so much for putting this gem out here!_ ## Problem Statement I have a service that uses `Elasticsearch` instead of `ActiveRecord` and I would like to...

You can find the forked version of the gem [here](https://github.com/livestorm/jsonapi-utils), I am not able to create a pull request for some reason, can you please take a look at it.

@tiagopog can update the dependency? jsonapi-resources ~> 0.9.12 solves the error in Rails 6.1 ``` uninitialized constant ActionController::ForceSSL ``` https://github.com/cerebris/jsonapi-resources/blob/v0.9.12/lib/jsonapi/resource_controller_metal.rb#L8

Hi! Small proposal for reducing the amount of `COUNT` queries when the result set is full already. Kinda hits performance. Currently, the paginator makes `COUNT` query for each request (unless...

@tiagopog Is there a way to use `jsonapi-authorization`, which plugs into JR as a custom operation processor? Based on the JR controller logic here (https://github.com/cerebris/jsonapi-resources/blob/v0.9.0/lib/jsonapi/acts_as_resource_controller.rb#L77), there seems to be some...

question

I'd love to use this library in conjunction with the latest version of JSONAPI::Resources. There are a number of breaking changes from what I can see, particularly with the removal...

enhancement
question

I'm having some trouble while filtering. I need my resource to be filtered by its name using a LIKE query (autocomplete field). If I implement JSONAPI::Resources approach, using a lambda,...

question
doc
specs

Strangely, all my active record models that have float field column type - converted to json as strings, like `"17.77"`. I checked in default rails non-jsonapi controller, `as_json` on same...