Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 880 Bytes

README.asciidoc

File metadata and controls

53 lines (39 loc) · 880 Bytes

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

}