{"id":18486157,"url":"https://github.com/mathsgod/gql-scalar-email","last_synced_at":"2025-07-12T03:05:07.696Z","repository":{"id":57016483,"uuid":"218709919","full_name":"mathsgod/gql-scalar-email","owner":"mathsgod","description":null,"archived":false,"fork":false,"pushed_at":"2019-10-31T09:55:41.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-05-13T22:24:10.016Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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}},"created_at":"2019-10-31T07:36:35.000Z","updated_at":"2019-10-31T09:53:15.000Z","dependencies_parsed_at":"2022-08-22T09:30:25.845Z","dependency_job_id":null,"html_url":"https://github.com/mathsgod/gql-scalar-email","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/mathsgod/gql-scalar-email","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fgql-scalar-email","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fgql-scalar-email/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fgql-scalar-email/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fgql-scalar-email/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathsgod","download_url":"https://codeload.github.com/mathsgod/gql-scalar-email/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathsgod%2Fgql-scalar-email/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264929045,"owners_count":23684754,"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","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-06T12:48:03.394Z","updated_at":"2025-07-12T03:05:07.631Z","avatar_url":"https://github.com/mathsgod.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gql-scalar-email\n\n```php\n    \n    $gql = \"\nscalar Email\ntype Query{\n    test(email:Email):Email\n}      \n\";\n\n   $typeConfigDecorator = function ($typeConfig) {\n        $name = $typeConfig['name'];\n\n        if ($name === 'Email') {\n            $email = new Scalar\\Email();\n\n            $typeConfig[\"serialize\"] = [$email, \"serialize\"];\n            $typeConfig[\"parseLiteral\"] = [$email, \"parseLiteral\"];\n        }\n        return $typeConfig;\n    };\n\n    $schema = BuildSchema::build($gql, $typeConfigDecorator);\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fgql-scalar-email","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathsgod%2Fgql-scalar-email","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathsgod%2Fgql-scalar-email/lists"}