TIL GraphQL hello, world with Query.echo

To follow along, browse to gitlab.com/-/graphql-explorer when you are already logged into GitLab.

Issue this query:

{echo(text:"hi 🌈")}

In response, you'll get something like:

{
  "data": {
    "echo": "\"brie\" says: hi 🌈"
  }
}

This is is a nice GraphQL hello, world to make sure things are working properly.

READmore

Docs: Query.echo

ℹī¸ About this TIL snippet: Created 2023-03-11T22:44:11-05:00 · View the source