org.neo4j.graphql.examples.graphqlspringboot.controller.AdditionalQueries.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphql-spring-boot Show documentation
Show all versions of graphql-spring-boot Show documentation
Example for using neo4j-graphql-java with Spring Boot
The newest version!
package org.neo4j.graphql.examples.graphqlspringboot.controller
import com.expediagroup.graphql.server.operations.Query
import org.springframework.stereotype.Component
@Component
class AdditionalQueries : Query {
fun echo(string: String): String {
return string
}
fun pojo(param: String): Pojo {
return Pojo(param)
}
data class Pojo(val id: String)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy