{"id":20486861,"url":"https://github.com/rricard/graph-quill","last_synced_at":"2026-05-15T12:02:35.630Z","repository":{"id":57253153,"uuid":"57200177","full_name":"rricard/graph-quill","owner":"rricard","description":"An opinionated but easy way to create GraphQL servers","archived":false,"fork":false,"pushed_at":"2016-05-19T14:01:35.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-20T03:37:06.512Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/rricard.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}},"created_at":"2016-04-27T09:12:58.000Z","updated_at":"2017-07-18T18:58:12.000Z","dependencies_parsed_at":"2022-08-31T22:20:10.713Z","dependency_job_id":null,"html_url":"https://github.com/rricard/graph-quill","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rricard/graph-quill","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rricard%2Fgraph-quill","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rricard%2Fgraph-quill/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rricard%2Fgraph-quill/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rricard%2Fgraph-quill/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rricard","download_url":"https://codeload.github.com/rricard/graph-quill/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rricard%2Fgraph-quill/sbom","scorecard":{"id":786669,"data":{"date":"2025-08-11","repo":{"name":"github.com/rricard/graph-quill","commit":"53b83d6b6514640468fb22e943f35bc6713c3388"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Code-Review","score":0,"reason":"Found 0/6 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-23T06:16:54.408Z","repository_id":57253153,"created_at":"2025-08-23T06:16:54.408Z","updated_at":"2025-08-23T06:16:54.408Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33066132,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-15T11:35:32.926Z","status":"ssl_error","status_checked_at":"2026-05-15T11:35:31.362Z","response_time":103,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-15T16:38:55.552Z","updated_at":"2026-05-15T12:02:35.600Z","avatar_url":"https://github.com/rricard.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GraphQuill\n\nGraphQL Schema creation Sugar\n\n[![Build Status](https://travis-ci.org/rricard/graph-quill.svg?branch=master)](https://travis-ci.org/rricard/graph-quill) [![Code Climate](https://codeclimate.com/github/rricard/graph-quill/badges/gpa.svg)](https://codeclimate.com/github/rricard/graph-quill) [![Issue Count](https://codeclimate.com/github/rricard/graph-quill/badges/issue_count.svg)](https://codeclimate.com/github/rricard/graph-quill)\n\n---\n\nGraphQuill is a tool based on the [GraphQL reference implementation][graphql-js]\nand the [Relay GraphQL supporting Library][graphql-relay-js] which goal is to\nhelp write [GraphQL][graphql] servers compliant with the\n[GraphQL Relay Specification][graphql-relay-spec].\n\n[graphql]: http://graphql.org\n[graphql-js]: https://github.com/graphql/graphql-js\n[graphql-relay-js]: https://github.com/graphql/graphql-relay-js\n[graphql-relay-spec]: https://facebook.github.io/relay/docs/graphql-relay-specification.html\n\n## Example\n\nAs seen in the [tested example][blog-schema], you can \"wrap\" any class like\nyou would\n[add a container around a React component in Relay][relay-container]:\n\n```javascript\nimport GraphQuill from \"graph-quill\"\n\n// Wrap Types\nclass Post {\n  // ...\n}\n\nPost = GraphQuill.createType(Post, {\n  name: \"Post\",\n  description: \"An authored blog post\",\n  idField: \"id\",\n  cursorField: \"creationDate\",\n  resolveById: id =\u003e {\n    // ...\n  },\n}, {\n  title: {\n    type: GraphQLString,\n    description: \"Post's title\",\n  },\n  content: {\n    type: GraphQLString,\n    description: \"Post's markdown contents\",\n  },\n  creationDate: {\n    type: GraphQLString,\n    description: \"Post's creation date\",\n  }\n})\n\n// Wrap Root Queries\nfunction allPosts() {\n  // ...\n}\n\nallPosts = GraphQuill.createRootQueryConnection(allPosts, \"allPosts\", {\n  description: \"Get all of the connected posts\",\n  connectedType: () =\u003e Post,\n})\n\n// Wrap Mutations\nfunction newPost({title, content}, _, {rootValue: {userId}}) {\n  // ...\n  return {\n    newPost: newPost,\n    allPosts: allPosts(),\n  }\n}\n\nnewPost = GraphQuill.createMutation(newPost, {\n  name: \"newPost\",\n  description: \"Creates a new post from the current user\",\n}, {\n  title: {\n    type: new GraphQLNonNull(GraphQLString),\n    description: \"The new post's title\",\n  },\n  content: {\n    type: new GraphQLNonNull(GraphQLString),\n    description: \"The new post's content\",\n  },\n}, {\n  newPost: {\n    type: () =\u003e Post,\n    description: \"The freshly created post\",\n  },\n}, {\n  allPosts: {\n    connectedType: () =\u003e Post,\n    description: \"All of the posts including the new one\",\n  },\n})\n\n// Register in one schema\nexport default GraphQuill.createSchema([\n  Post,\n], [\n  allPosts,\n], [\n  newPost\n])\n```\n\nIn the end, you just end up combining your wrapped types and root queries into\na usable GraphQL Schema.\n\n[blog-schema]: ./test/schemas/blog.js\n[relay-container]: https://facebook.github.io/relay/docs/guides-containers.html\n\n## Installation\n\nThe core GraphQuill package can be easily installed with the following command:\n\n```\nnpm install --save graph-quill\n```\n\n## Roadmap\n\n- **More control over the relay layer** - API design work needed\n- **Babel plugin for parsing comments \u0026 flow annotations** for automatic graphql\nschema inference\n\n## Contributing\n\nGraphQuill is still at early stages but you are encouraged to help!\n\nFeature requests are not a priority though as I am maintaining this alone for\nnow. If you want to add a feature, please send me a Pull-Request containing\nthe feature and associated tests. If you want to be sure to see your feature\naccepted, create an issue to discuss it.\n\nBug reports are welcome if you provide clear context information and steps to\nreproduce.\n\nBug fixes are always welcome!\n\nThe CI servers will ensure correct typechecking as well as passing tests and\nlinted code. Make sure it works on your side too using:\n\n- `npm run typecheck`\n- `npm test`\n- `npm run lint`\n\n## Author\n\nRobin Ricard\n\n## Licence\n\n```\nThe MIT License (MIT)\n\nCopyright (c) 2016 Robin Ricard\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frricard%2Fgraph-quill","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frricard%2Fgraph-quill","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frricard%2Fgraph-quill/lists"}