{"id":18039642,"url":"https://github.com/owengombas/graphql-composer-typeorm","last_synced_at":"2026-05-02T03:32:00.170Z","repository":{"id":42786947,"uuid":"273961482","full_name":"owengombas/graphql-composer-typeorm","owner":"owengombas","description":"🌐 TypeORM plugin for graphql-composer-decorators","archived":false,"fork":false,"pushed_at":"2023-01-06T09:31:11.000Z","size":1820,"stargazers_count":0,"open_issues_count":18,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T01:13:54.483Z","etag":null,"topics":["api","decorators","graphql","query","sql","typeorm"],"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/owengombas.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":"2020-06-21T18:27:53.000Z","updated_at":"2020-06-21T22:09:15.000Z","dependencies_parsed_at":"2023-02-05T19:31:23.888Z","dependency_job_id":null,"html_url":"https://github.com/owengombas/graphql-composer-typeorm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/owengombas/graphql-composer-typeorm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owengombas%2Fgraphql-composer-typeorm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owengombas%2Fgraphql-composer-typeorm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owengombas%2Fgraphql-composer-typeorm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owengombas%2Fgraphql-composer-typeorm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/owengombas","download_url":"https://codeload.github.com/owengombas/graphql-composer-typeorm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/owengombas%2Fgraphql-composer-typeorm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32522245,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"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":["api","decorators","graphql","query","sql","typeorm"],"created_at":"2024-10-30T14:09:56.817Z","updated_at":"2026-05-02T03:32:00.150Z","avatar_url":"https://github.com/owengombas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://raw.githubusercontent.com/OwenCalvin/graphql-composer-decorators/master/docs/.vuepress/public/logo.png\" width=\"150px\"\u003e\n  \u003ch1 align=\"center\"\u003e\n    \u003cp align=\"center\"\u003e\n      graphql-composer-decorators\n    \u003c/p\u003e\n    \u003ch3 align=\"center\"\u003e\n      Create your GraphQL API using decorators!\n    \u003c/h3\u003e\n  \u003c/h1\u003e\n  \u003cbr/\u003e\n\u003c/p\u003e\n\n# graphql-composer-decorators\nGraphQL comes to revolutionize backend development, the fact that you have to declare types is something very useful, however it can lead to code duplication and therefore affect the stability of your application. Indeed, based on the DRY (Don't Repeat Yourself) principle, the fact of declaring several times the same element in a different way should be avoided, because when this element changes it is necessary to modify several parts of code, so if only one of these parts is omitted it can cause problems in your application and the more it grows the harder it will be to maintain it.\n\n### [Go to the documentation](https://owencalvin.github.io/graphql-composer-decorators/)\n\n# graphql-composer\nThe `graphql-composer-decorators` module is broken down into two modules instead of making one heavier, `graphql-composer` simply provides a compositing API which allows you to create an API using the builder design pattern and compositing.\n\u003e Documentation for this module will be available soon.\n\n# graphql-composer-typeorm\nThis solution offers a way to create advanced queries with TypeORM and graphql-composer-decorators\n\n# `ArgsFactory`\nThis class allows to generate complex arguments from a class, the arguments will be generated in order to be able to specify several parameters for certain types:\n\n## `string`\n### `eq`\nstrictly equal value\n### `like`\nexpression value\n\n## `number`\n### `eq`\nstrictly equal value\n### `gt`\nstrictly higher value\n### `gte`\ngreater or equal value\n### `lt`\nstrictly speaking, smaller value\n### `lte`\nlesser or equal value\n\n# `Parser`\nThis class allows you to generate the SQL query via your arguments:\n\n# Example\n```ts\nconst args = ArgsFactory.create(User)\n\n@Resolver()\nclass Resolver {\n  @Query()\n  query(\n    Args(args) args: KeyValue,\n    ctx: Context\n  ): Response {\n    const query = parser.buildQuery(ctx);\n    return query.getMany();\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowengombas%2Fgraphql-composer-typeorm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fowengombas%2Fgraphql-composer-typeorm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fowengombas%2Fgraphql-composer-typeorm/lists"}