dany giguere
03/12/2024, 10:56 PM@GetMapping("/posts/{id}")
suspend fun getById(@PathVariable id: Long): ResponseEntity<PostDto> {
val response = postService.findById(id)
return if (response != null) ResponseEntity.ok(response)
else ResponseEntity.notFound().build()
}
I’d like to convert the project to use GraphQl. (it will be in a different demo of course with a bff and microservices)Arivnd Ramesh
03/12/2024, 11:00 PMShane Myrick
03/13/2024, 12:30 AMDariusz Kuc
03/13/2024, 4:28 PMgraphql-kotlin
lib, there is a more generic #graphql channelDariusz Kuc
03/13/2024, 4:29 PMDariusz Kuc
03/13/2024, 4:30 PMspring-graphql
should work as welldany giguere
03/13/2024, 4:57 PMDariusz Kuc
03/13/2024, 4:58 PMgraphql-kotlin
is code first, DGS
and spring-graphql
are SDL first so pick one that better fits your needsDariusz Kuc
03/13/2024, 5:10 PMdany giguere
03/13/2024, 11:14 PMThe DGS and Spring-GraphQL teams are super excited to introduce deep integration between the DGS framework and Spring-GraphQL.
so I don’t have to choose btw DGS and spring-graphql now :)hantsy
04/07/2024, 12:25 PM