- Install dependencies
npm install
- Run subgraph
npm run subgraph-start
- Run gateway
npm run gateway-start
- Run the query
query {
search {
__typename
id
... on Repository {
good_alias: name
broken_alias: repository_name
}
... on User {
good_alias: name
broken_alias: user_name
}
}
}