2 unstable releases

0.4.0 May 18, 2023
0.3.0 May 26, 2021

#16 in #relay-server

24 downloads per month
Used in async-graphql-relay

MIT license

96 lines


Relay support for async-graphql

This crate aims to bring the Relay server specification to async-graphql. The Relay specification requires three main things:

  • Globally unique IDs
    • This crate achieves this by appending the database UUID with an integer which represents the objects type
  • Refetching using the node query
    • This crate calls a get() method on the type specified in the globally unique ID to refetch the object.
  • Connections for Pagination


Add async-graphql-relay to your dependencies:

# ...
async-graphql = "2.8.5"
async-graphql-relay= "0.3.0"


Check out this example application.


~40K SLoC