Skip to content
#

ash

Here are 59 public repositories matching this topic...

zachdaniel
zachdaniel commented Jul 22, 2021

Due to the filter-based implementation of keyset pagination, it cannot be used with sorts on calculations.

We could solve this problem by making the keyset only be the primary key of the record, and then fetching that value loading the calculations/aggregates that we need. If we do this we should either: 1.) make it a new pagination mode or 2.) add an option like mode: :strict | :fetch (name

zachdaniel
zachdaniel commented Aug 3, 2021

I've laid the groundwork for relay support, pushed to master now. There are three remaining steps:

  • when fetching :has_many or :many_to_many relationships, we need to wrap them in a connection if the destination action supports pagination
  • when selecting fields, we need to look at the selections inside of the ["edges", "node"] path
  • we need to build the actual connection object. I've

Improve this page

Add a description, image, and links to the ash topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the ash topic, visit your repo's landing page and select "manage topics."

Learn more