Skip to content

Instantly share code, notes, and snippets.

@aronbalog
Created May 6, 2018 02:05

Revisions

  1. aronbalog created this gist May 6, 2018.
    7 changes: 7 additions & 0 deletions Query.kt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    package com.example.demo.graphql
    import com.coxautodev.graphql.tools.GraphQLQueryResolver
    import org.springframework.stereotype.Component
    @Component
    class Query: GraphQLQueryResolver {
    fun version() = "1.0.0"
    }