cd service1
make run
npm install -g wgc@latest
wgc router compose -i graph.yaml -o config.json
-
use config.json for run router
-
run query
query Test {
test {
data
}
}
- view result
{
"errors": [
{
"message": "Bad escaped character in JSON at position 26 (line 1 column 27)",
"stack": "SyntaxError: Bad escaped character in JSON at position 26 (line 1 column 27)"
}
]
}