{"id":20337623,"url":"https://github.com/insidezhou/graphql-spring-boot-starter","last_synced_at":"2026-06-08T15:31:26.334Z","repository":{"id":91825150,"uuid":"125829161","full_name":"InsideZhou/graphql-spring-boot-starter","owner":"InsideZhou","description":"GraphQL springboot starter","archived":false,"fork":false,"pushed_at":"2018-03-21T07:22:45.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-04T14:30:18.449Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/InsideZhou.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":"2018-03-19T08:57:19.000Z","updated_at":"2018-03-21T07:22:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"e0e5751d-a790-4f2d-9552-af8c21070715","html_url":"https://github.com/InsideZhou/graphql-spring-boot-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/InsideZhou/graphql-spring-boot-starter","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsideZhou%2Fgraphql-spring-boot-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsideZhou%2Fgraphql-spring-boot-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsideZhou%2Fgraphql-spring-boot-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsideZhou%2Fgraphql-spring-boot-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/InsideZhou","download_url":"https://codeload.github.com/InsideZhou/graphql-spring-boot-starter/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/InsideZhou%2Fgraphql-spring-boot-starter/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34069488,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-08T02:00:07.615Z","response_time":111,"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":[],"created_at":"2024-11-14T21:09:38.640Z","updated_at":"2026-06-08T15:31:26.317Z","avatar_url":"https://github.com/InsideZhou.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [GraphQL](http://graphql.org/) spring boot starter\n\u003e Provide a simple config for use of graphql.\n\n### By default \n\n1. Scan all schema files from classpath://graphql/* for type definition, no recursive.\n1. Find *TypeBuilder beans that match any type name in schema files.\n1. If TypeBuilder not found, default TypeBuilder provided, find *DataFetcher beans that match any type name in schema files.\n    - If ListType, *ListDataFetcher used.\n    - If NonNullType, *NonNullDataFetcher used.\n1. Wire up definitions and beans.\n\n\n### Example\n```\nschema {\n    query: Query\n}\n\ntype Query {\n    login: Login\n    orderList: [Order]\n}\n\n```\n\n```\ndata class Order(var code: String)\ndata class Login(var cellphone: String)\n\n\n@Component\nclass LoginDataFetcher : DataFetcher\u003cLogin\u003e {\n    override fun get(environment: DataFetchingEnvironment): Login {\n        return Login(\"13800138000\")\n    }\n}\n\n\n@Component\nclass OrderListDataFetcher : DataFetcher\u003cArray\u003cOrder\u003e\u003e {\n    override fun get(environment: DataFetchingEnvironment?): Array\u003cOrder\u003e {\n        return arrayOf(Order(\"NN20190101123238781\"))\n    }\n}\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsidezhou%2Fgraphql-spring-boot-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finsidezhou%2Fgraphql-spring-boot-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finsidezhou%2Fgraphql-spring-boot-starter/lists"}