{"id":13822335,"url":"https://github.com/oscartbeaumont/async-graphql-relay","last_synced_at":"2025-04-22T21:32:32.765Z","repository":{"id":37980386,"uuid":"368259208","full_name":"oscartbeaumont/async-graphql-relay","owner":"oscartbeaumont","description":"Relay support for async-graphql","archived":false,"fork":false,"pushed_at":"2024-01-30T01:18:08.000Z","size":34,"stargazers_count":30,"open_issues_count":0,"forks_count":8,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-27T23:33:14.083Z","etag":null,"topics":["async-graphql","graphql","graphql-relay","relay","rust","rust-graphql-server"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oscartbeaumont.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-17T16:52:43.000Z","updated_at":"2024-06-08T02:28:48.000Z","dependencies_parsed_at":"2024-08-04T08:08:18.515Z","dependency_job_id":"78d73060-9283-477e-ada9-1de175b4a5af","html_url":"https://github.com/oscartbeaumont/async-graphql-relay","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscartbeaumont%2Fasync-graphql-relay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscartbeaumont%2Fasync-graphql-relay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscartbeaumont%2Fasync-graphql-relay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscartbeaumont%2Fasync-graphql-relay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oscartbeaumont","download_url":"https://codeload.github.com/oscartbeaumont/async-graphql-relay/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250328616,"owners_count":21412652,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["async-graphql","graphql","graphql-relay","relay","rust","rust-graphql-server"],"created_at":"2024-08-04T08:01:55.487Z","updated_at":"2025-04-22T21:32:32.740Z","avatar_url":"https://github.com/oscartbeaumont.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003easync-graphql-relay\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n \u003cstrong\u003e\n   Relay support for async-graphql\n \u003c/strong\u003e\n\u003c/div\u003e\n\n\u003cbr /\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003c!-- Crates version --\u003e\n  \u003ca href=\"https://crates.io/crates/async-graphql-relay\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/v/async-graphql-relay.svg?style=flat-square\"\n    alt=\"Crates.io version\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- Downloads --\u003e\n  \u003ca href=\"https://crates.io/crates/async-graphql-relay\"\u003e\n    \u003cimg src=\"https://img.shields.io/crates/d/async-graphql-relay.svg?style=flat-square\"\n      alt=\"Download\" /\u003e\n  \u003c/a\u003e\n  \u003c!-- docs.rs docs --\u003e\n  \u003ca href=\"https://docs.rs/async-graphql-relay\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/docs-latest-blue.svg?style=flat-square\"\n      alt=\"docs.rs docs\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\u003cbr/\u003e\n\nThis crate aims to bring the [Relay server specification](https://relay.dev/docs/guides/graphql-server-specification) to [async-graphql](https://github.com/async-graphql/async-graphql). The Relay specification requires three main things:\n - Globally unique IDs\n    - This crate achieves this by appending the database UUID with an integer which represents the objects type\n -  Refetching using the `node` query\n    - This crate calls a `get()` method on the type specified in the globally unique ID to refetch the object.\n - Connections for Pagination\n    - This feature already exists in [async-graphql](https://github.com/async-graphql/async-graphql). [Documentation for this feature is here](https://async-graphql.github.io/async-graphql/en/cursor_connections.html).\n\n## Install\n\nAdd `async-graphql-relay` to your dependencies:\n\n```toml\n[dependencies]\n# ...\nasync-graphql = \"2.8.5\"\nasync-graphql-relay= \"0.3.0\"\n```\n## Usage\n\nCheck out [this example application](https://github.com/oscartbeaumont/async-graphql-relay/tree/main/example).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscartbeaumont%2Fasync-graphql-relay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foscartbeaumont%2Fasync-graphql-relay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscartbeaumont%2Fasync-graphql-relay/lists"}