Skip to content

sevenseacat/absinthe-query-batching

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Absinthe query batching example

An example implementation of using Absinthe's batch/3 helper function to batch queries together for efficiency when resolving field values.

I wrote more about this in a blog post, Efficiently querying data in batches using Absinthe.

Setup

git clone https://github.com/sevenseacat/absinthe-query-batching.git
cd absinthe-query-batching
mix deps.get
mix ecto.setup

Run

mix phx.server

And you can visit the GraphiQL interface at https://localhost:4000/graphiql

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages