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) using maven:

 mvn clean install
 mvn wildfly:run

Using the runner

You can then navigate to http://localhost:8080/graphql-ui

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
    }
  }

}