graphiti icon indicating copy to clipboard operation
graphiti copied to clipboard

Stylish Graph APIs

Results 100 graphiti issues
Sort by recently updated
recently updated
newest added

If one's resource is backed by ActiveRecord, an RTE is thrown if one allows nil and tries to filter by null on a string value. The adapter maps the filter...

I've set up a failing spec scenario on this branch [here](https://github.com/dshoemaker/graphiti/tree/failing-sidepost-when-aliased). When given a relationship and resource setup like this: ```ruby class Employee < ApplicationRecord has_many :documents, class_name: "PersonalDocument" end...

Graphiti doesn't have much of a caching story right now. For a while I used @richmolj's suggestion of ActionCaching (#160) often I ended up rolling my own logic which sometimes...

I have the following Resource: ``` module Api::V2 class RecognitionResource < BaseResource self.adapter = Graphiti::Adapters::Null self.polymorphic = [BarcodeResource, TokenResource] belongs_to :page, foreign_key: :page_id, except: [:writable], resource: PageResource attribute(:confidence, :float) attribute(:coordinates,...

Dynamically creating resource classes for each sideload is expensive on allocations and it was causing a memory leak on carwow's production applications since these Class objects were not being freed....

Fixes #301 The sparse fieldsets is not filtering relationships. Currently if we specify any attribute and/or relationship in `fields` param, it works correctly on attributes but the not on relationships....

In this URL, the `excluded_food_groups` are intended to be a comma-separated array, but here, only one value is supplied: `http://www.example.com/recipes/recommendations?filter[customer_id]=3&filter[delivery_date][eq]=2022-12-15&filter[excluded_food_groups][eq]=Beef&filter[meal_plan][eq]=Balanced&filter[portion_count_per_meal][eq]=2` In the resource, the filter is defined like this: ```ruby...

Hi 👋. Love that graphiti exists! Scenario: layering in a graphiti-powered api over a legacy (non rails-conventional) database. Our thinking is that the ActiveRecord objects should remain as close to...