Skip to content

Instantly share code, notes, and snippets.

@svenhakvoort
Created May 17, 2020 15:36
Show Gist options
  • Save svenhakvoort/3c2dc9395c976608cdd85c19e85a770d to your computer and use it in GitHub Desktop.
Save svenhakvoort/3c2dc9395c976608cdd85c19e85a770d to your computer and use it in GitHub Desktop.
Demo GraphQL Query
package com.example.demographql.query
import com.expediagroup.graphql.spring.operations.Query
import org.springframework.stereotype.Controller
@Controller
class DemoQuery: Query {
fun demo(): String {
return "Our query works"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment