ardatan / ardatan/graphql-mesh

"message": "Unexpected error value: { name: \"SyntaxError\", message: \"Unexpected 'I'\", at: 1, text: \"Invalid Query\" }",

Open
#3,955 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.5k
Forks
363
Avg merge
6h 10m
Merged PRs (30d)
19

Description

Hi
I am merging two API's in a same host using GraphQL. I followed what I done last time with Normal Openspec same thing I followed Here as well. But I am facing an issue like "Unexpected error value: { name: \"SyntaxError\". I am not sure Anything I added Wrong?
I am adding Code as well Anyone can take a look and give your inupt.

Code:
**_sources:
- name: ScoopsSearch
handler:
graphql:
endpoint: http://localhost:8080/profiles/graphql/ScoopsSearch
baseUrl: http://localhost:8080/
operationHeaders:
user: "{env.user}"
x-zisession: "{env.x-zisession}"
x-ziid: "{env.x-ziid}"
x-ziaccesstoken: "{env.x-ziaccesstoken}"

- name: FacetsSearch
handler:
graphql:
endpoint: http://localhost:8080/profiles/graphql/facets
baseUrl: http://localhost:8080/
operationHeaders:
user: "{env.user}"
x-zisession: "{env.x-zisession}"
x-ziid: "{env.x-ziid}"
x-ziaccesstoken: "{env.x-ziaccesstoken}"_**

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the two-source GraphQL Mesh configuration shown in the issue, using the ScoopsSearch and FacetsSearch endpoints and operation headers. No project file or test is named; done means identifying the configuration or response causing the SyntaxError and confirming that the merged API loads successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript
Domain
api
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.