Skip to content

Latest commit

 

History

History
 
 

runner

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

SmallRye GraphQL Runner

graphiql

Starting the runner

The running allow you to test the TCK app against a running server using GraphiQL.

You can run the server (Wildfly or Thorntail) using maven:

Using Wildfly

 mvn clean install -Pwildfly

Using Thorntail

 mvn clean install -Pthorntail

Using the runner

You can then navigate to http://localhost:8080/graphiql

To stop the server simply ctrl-c the maven process.

Example queries:

Get all heroes

query allHeroes {
    allHeroes {
        name
        primaryLocation
        superPowers
        realName
    }
}

Test the @Source function

{
  superHero(name:"Iron Man"){
    realName
    currentLocation
    secretToken {
      value
    }
  }

}