Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

oscartbeaumont/async-graphql-relay

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

async-graphql-relay

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

Install

Add async-graphql-relay to your dependencies:

[dependencies]
# ...
async-graphql-relay= "0.5.0"

Usage

Check out this example application.

About

Relay support for async-graphql

Topics

Resources

License

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.