{"id":16482618,"url":"https://github.com/mfix22/graphql-error-parser","last_synced_at":"2025-04-04T17:48:08.521Z","repository":{"id":87401671,"uuid":"103363262","full_name":"mfix22/graphql-error-parser","owner":"mfix22","description":"Create field summary from GraphQL error response","archived":false,"fork":false,"pushed_at":"2023-03-03T23:30:47.000Z","size":186,"stargazers_count":2,"open_issues_count":6,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T03:14:20.461Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mfix22.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2017-09-13T06:41:00.000Z","updated_at":"2024-04-20T06:06:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"ebe826ff-bb56-4fd2-8a1b-eb70329ce44d","html_url":"https://github.com/mfix22/graphql-error-parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfix22%2Fgraphql-error-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfix22%2Fgraphql-error-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfix22%2Fgraphql-error-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mfix22%2Fgraphql-error-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mfix22","download_url":"https://codeload.github.com/mfix22/graphql-error-parser/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247226199,"owners_count":20904464,"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-10-11T13:11:27.556Z","updated_at":"2025-04-04T17:48:08.503Z","avatar_url":"https://github.com/mfix22.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `graphql-error-parser`\n\n```javascript\nconst parse = require('graphql-error-parser')\nconst err = 'Variable \"$input\" got invalid value {\"id\":\"3\",\"address\":{\"zip\":\"1\",\"state\":\"MN\",\"streetAddress1\":\"Test\"}}.\\nIn field \"address\": In field \"city\": Expected \"String!\", found null.\\nIn field \"address\": In field \"zip\": Expected type \"ZipCode\", found \"1\": 00001 is not a valid zipcode'\n\nparse(err)\n/*\n{\n  address: {\n    city: {\n      type: 'String!',\n      message: ''\n    },\n    zip: {\n      type: 'ZipCode',\n      message: '00001 is not a valid zipcode'\n    }\n  }\n}\n*/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfix22%2Fgraphql-error-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmfix22%2Fgraphql-error-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmfix22%2Fgraphql-error-parser/lists"}