{"id":15192414,"url":"https://github.com/mandx/denograts","last_synced_at":"2026-02-17T07:13:14.866Z","repository":{"id":204059708,"uuid":"711019963","full_name":"mandx/denograts","owner":"mandx","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-28T14:43:35.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-01T07:55:06.751Z","etag":null,"topics":["deno","graphql","graphql-api","graphql-server","grats"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/mandx.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":"2023-10-28T01:34:48.000Z","updated_at":"2023-10-28T15:35:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"56672f16-de4e-45d9-b4ea-89915f4f5d19","html_url":"https://github.com/mandx/denograts","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"fca8eb3593b9eb2964398336438a1c5da55fc79e"},"previous_names":["mandx/denograts"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mandx/denograts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandx%2Fdenograts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandx%2Fdenograts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandx%2Fdenograts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandx%2Fdenograts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mandx","download_url":"https://codeload.github.com/mandx/denograts/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mandx%2Fdenograts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279015740,"owners_count":26085748,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["deno","graphql","graphql-api","graphql-server","grats"],"created_at":"2024-09-27T21:23:17.840Z","updated_at":"2025-10-13T14:33:47.015Z","avatar_url":"https://github.com/mandx.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# denograts\n\nExtremely simple demo project exploring integration between [Grats](https://github.com/captbaritone/grats) and [Deno](https://deno.land/)\n\n## Prerequisites\n[Install Deno](https://docs.deno.com/runtime/manual#install-deno)\n\n## Running the server:\n```\n$ deno run -A server.ts\n```\n\n## Generating the schema\n```\n$ deno run npm:grats/dist/src/cli.js --output=./schema.graphql\n```\n\nNot as pretty as just typing `npx grats`, but one can always stuff that command as a [Deno task](https://docs.deno.com/runtime/manual/tools/task_runner):\n\n```\n$ deno task grats-gen\n```\n\n## Issues specific to Deno (so far)\n\n* Scalars provided by Grats (`import { Float, Int, ID } from \"grats\"`) are importable just fine, but seems like the docblocks aren't reachable.\n  * Kinda makes sense: these imports are importmaps managed by Deno; I'm guessing Grat's Typescript compiler can't locate the actual file where the scalars are defined, the file containing the scalars' dockblocks.\n  * A not-so-terrible workaround is to \"vendor\" the scalar definitions, so they are fully accessible by Grat's (see `schema.ts` in this repo).\n* Module remapping must be done carefully to ensure a single `graphql` version is pulled, otherwise `graphql` itself will complain.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandx%2Fdenograts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmandx%2Fdenograts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmandx%2Fdenograts/lists"}