{"id":18477789,"url":"https://github.com/mathsgod/graphqlite-mixed-type","last_synced_at":"2026-02-11T01:34:47.251Z","repository":{"id":62525078,"uuid":"399329151","full_name":"mathsgod/graphqlite-mixed-type","owner":"mathsgod","description":"input and output mixed type for thecodingmachine/graphqlite","archived":false,"fork":false,"pushed_at":"2025-02-07T04:55:37.000Z","size":59,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-05T19:48:30.197Z","etag":null,"topics":["graphql","php"],"latest_commit_sha":null,"homepage":"","language":"PHP","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/mathsgod.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-08-24T04:00:51.000Z","updated_at":"2025-02-07T04:54:54.000Z","dependencies_parsed_at":"2025-04-08T14:47:49.440Z","dependency_job_id":null,"html_url":"https://github.com/mathsgod/graphqlite-mixed-type","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/mathsgod/graphqlite-mixed-type","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fgraphqlite-mixed-type","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fgraphqlite-mixed-type/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fgraphqlite-mixed-type/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fgraphqlite-mixed-type/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathsgod","download_url":"https://codeload.github.com/mathsgod/graphqlite-mixed-type/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fgraphqlite-mixed-type/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29324291,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T00:34:26.354Z","status":"ssl_error","status_checked_at":"2026-02-11T00:34:09.494Z","response_time":65,"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":["graphql","php"],"created_at":"2024-11-06T12:05:57.967Z","updated_at":"2026-02-11T01:34:47.234Z","avatar_url":"https://github.com/mathsgod.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![PHP Composer](https://github.com/mathsgod/graphqlite-mixed-type/actions/workflows/php.yml/badge.svg)](https://github.com/mathsgod/graphqlite-mixed-type/actions/workflows/php.yml)\n\n# graphqlite-mixed-type\n\ninput and output mixed type for \u003ca href=\"https://github.com/thecodingmachine/graphqlite\"\u003ethecodingmachine/graphqlite\u003c/a\u003e\n\n## Setup\n```php\n\n$factory = new SchemaFactory($cache, $container);\n//...\n$factory-\u003eaddRootTypeMapperFactory(new MixedTypeMapperFactory);\n\n```\n\n## Example\n\n```php\nclass Controllers{\n    \n    /**\n     * @param mixed $a\n     */\n    #[Query(outputType: \"mixed\")]\n    public function mixedInput($a)\n    {\n        return $a;\n    }\n}\n```\n\n```gql\nquery {\n    mixedInput(a:{hello:\"world\"})\n}\n```\nIt will output \n```json\n{\n  \"data\": {\n    \"mixedInput\": {\n      \"hello\": \"world\"\n    }\n  }\n}\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fgraphqlite-mixed-type","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathsgod%2Fgraphqlite-mixed-type","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fgraphqlite-mixed-type/lists"}