graphiti
graphiti copied to clipboard
Stylish Graph APIs
Nested validation errors on update operations are currently broken. ActiveRecord objects are compared for equality by id only. The |= operator would ignore any children which are only updated, i.e....
Hi thx for creating this awesome gem for json:api and rails. we're just adding it to our open source project. we're using devise to check authorization of a single record....
The next link isn't included (and the last page link does not have a page number) when the resource has json columns because of the use of `distinct.count(:all)` in: https://github.com/graphiti-api/graphiti/blob/14e84ef7e10c347ec391b96948365b5195074632/lib/graphiti/adapters/active_record.rb#L195-L201...
Rails uses `.polymorphic_name` to derive the value for the `{association}_type` attribute value. It's fairly common, if not documented/supported, to override `polymorphic_name` for AR Models that need to store or support...
Previously, sideloading in Graphiti used an unbounded number of threads, which could decrease performance due to resource contention and exhaust the ActiveRecord connection pool, leading to timeouts and connection errors....
ActiveRecord::ConnectionTimeoutError "all pooled connections were in use" after enabling concurrency
I recently enabled concurrency on a system and it resulted in a lot of `ActiveRecord::ConnectionTimeoutError` errors. I believe it's because ActiveRecord has a 1 thread = 1 connection policy and...
I made these updates long ago and have been using them on a private branch. There might still be edge cases I'm not considering, so I'm starting this PR as...
With the current implementation in Graphiti it is possible to end up with incomplete objects in the `included` section. The easiest way is to have a non-DB backed relationship in...
Hello, I know this has partially been reported already https://github.com/graphiti-api/graphiti/issues/171 but I think what proposed @ribordy is kinda nice. I would even imagine one step further like ```ruby class DemoResource...
It would be nice to have a way to use operators like AND or OR to manipulate filters. For example, I might want to search for records with "john" in...