{"id":21449646,"url":"https://github.com/dr3/mesh-debug","last_synced_at":"2025-03-17T02:20:27.262Z","repository":{"id":155353340,"uuid":"632572104","full_name":"dr3/mesh-debug","owner":"dr3","description":"Mesh bug replication examples","archived":false,"fork":false,"pushed_at":"2023-04-28T11:51:55.000Z","size":270,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T12:11:49.082Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/dr3.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":"2023-04-25T17:27:20.000Z","updated_at":"2023-04-25T17:28:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"1388d20e-d9eb-4ce4-b873-9de6db330673","html_url":"https://github.com/dr3/mesh-debug","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/dr3%2Fmesh-debug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dr3%2Fmesh-debug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dr3%2Fmesh-debug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dr3%2Fmesh-debug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dr3","download_url":"https://codeload.github.com/dr3/mesh-debug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243960607,"owners_count":20375106,"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-23T03:25:03.259Z","updated_at":"2025-03-17T02:20:27.240Z","avatar_url":"https://github.com/dr3.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mesh-debug\n\nThis repo includes reproduction examples of a few mesh bugs\n\n## Setup\n\n```sh\nnvm use\n```\n\n### Optional\n\n```sh\nfor d in ./*/ ; do (cd \"$d\" \u0026\u0026 yarn); done\n```\n\n## Examples\n\n### /working-mesh-helix\n\nThis is a working example to start from\n\n```sh\ncd working-mesh-helix \u0026\u0026 yarn \u0026\u0026 yarn test\n```\n\n#### What happens?\n\nTests pass :tada:\n\n---\n\n### /same-response-issue\n\nWhen 2 status codes have the same response type, e.g. 200 \u0026 400, the 400 wont be handled nicely\n\n```sh\ncd same-response-issue \u0026\u0026 yarn \u0026\u0026 yarn test\n```\n\n#### What happens?\n\nGet `\"HTTP Error: 400, Could not invoke operation GET /pet/{args.petId}\"` instead of it returning the data as unioned response\n\n---\n\n### /missing-naming-convention\n\nWhen You have 2 sources, but only 1 has naming convention transform, it errors when building mesh\n\n```sh\ncd missing-naming-convention \u0026\u0026 yarn \u0026\u0026 yarn test\n```\n\n#### What happens?\n\nGet error `Error: Unable to merge GraphQL directive \"httpOperation\"`\n\n---\n\n### /bare-enum-sending\n\nWhen using bare namingConvention transform, enums arnt converted to their original casing before being sent to upstream\n\n```sh\ncd bare-enum-sending \u0026\u0026 yarn \u0026\u0026 yarn test\n```\n\n#### What happens?\n\nUpstream server gets enum value `FLUFFYBOI` instead of `FluffyBoi` which it wants\n\n---\n\n### /naming-convention-originalName\n\nWhen using bare namingConvention transform, get error \"Cannot read properties of undefined (reading 'originalName')\"\n\n```sh\ncd naming-convention-originalName \u0026\u0026 yarn \u0026\u0026 yarn test\n```\n\n#### What happens?\n\nGet error `\"Cannot read properties of undefined (reading 'originalName')\"`\n\n---\n\n### /union-renaming\n\nRenaming a type within an union causes error\n\n```sh\ncd union-renaming \u0026\u0026 yarn \u0026\u0026 yarn test\n```\n\n#### What happens?\n\nGet error `Abstract type \\\"pet_by_petId_response\\\" was resolved to a type \\\"ServerError\\\" that does not exist inside the schema.`\n\n---\n\n### /datetime-timezone\n\nDates are converted to UTC\n\nIssue: https://github.com/Urigo/graphql-mesh/issues/5229\n\n```sh\ncd datetime-timezone \u0026\u0026 yarn \u0026\u0026 yarn test\n```\n\n#### What happens?\n\nGet `2016-02-01T11:00:00.000Z` instead of `2016-02-01T00:00:00-11:00`\n\n---\n\n### /ts-artifacts\n\nBuild mesh gets typescript error\n\n```sh\ncd ts-artifacts \u0026\u0026 yarn \u0026\u0026 yarn test\n```\n\n#### What happens?\n\nGet error `TypeError: Cannot read properties of undefined (reading 'get')`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdr3%2Fmesh-debug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdr3%2Fmesh-debug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdr3%2Fmesh-debug/lists"}