-
I've been working on a project where we have a very deeply nested structure that we need to serialize. We initially thought that a n+1 query was the cause for requests being slow. However, as we remov…
-
````ruby
class Mm::KudoResource < JSONAPI::Resource
model_name 'Mm::Kudo'
attributes :value, :tags, :comment
has_one :giver, class_name: '::Contractor', controller: '/contractors'
end
…
-
#### Expected behavior vs actual behavior
Shouldn't `included` section include `friends` array with all `users` inside them?
If I have more than one association that refers to users (ex: invited_…
-
I have a `User`:
```ruby
class User < ApplicationRecord {
id: :uuid,
email: :string,
created_at: :datetime,
updated_at: :datetime,
first_name: :string,
last_name: :string,
usern…
-
aka a singleton resource
Help! There does not seem to be an example or documentation of this.
in the README.md, in the routes section ( [jsonapi_resource](https://github.com/cerebris/jsonapi-resource…
-
I have a strange issue where I have copied the instructions in the wiki and implemented them in my app. Unfortunately none my policies are being called for some reason. I have noticed the current user…
-
Really awesome project, good work!
Perhaps a new sub repo could include helper methods for testing with Minitest and RSpec or is that out of the scope for the project?
-
When using the method "have_updateable_fields" the lib does not seem to be able to pull from a jsonapi-resources class to check this value. For example:
> expected # to respond to `has_updatable_fi…
-
I've read over the examples for both custom persistence and sideposting. It seems like to add a service call in the mix, you would define a `create(attributes)` method in the resource. If you're sidep…
-
Hello, I have been working on testing out your ember-admin. I have gotten everything working, but when I go to "Add relationships/Select from existing" it shows the relationships but cannot add them.…