Skip to content

Instantly share code, notes, and snippets.

@gmac
Created October 28, 2021 13:19
Show Gist options
  • Save gmac/2736b8a633e83937a9e49dd0f5efaa2d to your computer and use it in GitHub Desktop.
Save gmac/2736b8a633e83937a9e49dd0f5efaa2d to your computer and use it in GitHub Desktop.
{
"MergedSchema": "directive @boundary on OBJECT | FIELD_DEFINITION\ntype Foo @boundary {\n\tid: ID!\n\tgqlgen: Boolean!\n\tnodejs: Boolean!\n}\ntype Query {\n\trandomFoo: Foo!\n}\n",
"Services": [
{
"Name": "gqlgen",
"ServiceURL": "https://localhost:3000",
},
{
"Name": "nodejs",
"ServiceURL": "https://localhost:3001",
}
],
"Locations": {
"Foo.gqlgen": "http://localhost:3000/query",
"Foo.nodejs": "http://localhost:3001/query",
"Query.randomFoo": "http://localhost:3000/query"
},
"IsBoundary": {
"Foo": true,
"Query": false
},
"BoundaryQueries": {
"http://localhost:3001/query": {
"Foo": {
"Field": "foo",
"Array": false
}
},
"http://localhost:3000/query": {
"Foo": {
"Field": "foo",
"Array": false
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment