Replies: 1 comment
-
Found my own answer after a lot of searching, answered here. I used the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm new to Sequel but I wanted to try it on a new GraphQL API I'm working on.
Using this library for graphql data loading: https://github.com/Shopify/graphql-batch
This library offers this example: https://github.com/Shopify/graphql-batch/blob/master/examples/association_loader.rb
Problem is that it's built inside internal/private ActiveRecord API:
ActiveRecord::Associations::Preloader
I've been unable to figure out how to re-write this class using Sequel library so I'm hoping someone might have an example or tips on getting this
graphql-batch
library working with Sequel.Beta Was this translation helpful? Give feedback.
All reactions