https://kotlinlang.org logo
#ktor
Title
# ktor
m

marzelwidmer

03/02/2021, 6:58 AM
hello is there also support for HATEOAS ON KTOR? we run at the moment the spring kotlin stack. I want try something new:)
m

mickeelm

03/02/2021, 9:07 AM
Without really knowing what I'm talking about, it doesn't look like it: https://youtrack.jetbrains.com/issue/KTOR-1192
h

hhariri

03/02/2021, 10:28 AM
What in particular are you needing in terms of HATEOAS support?
m

marzelwidmer

03/02/2021, 10:39 AM
I was thinking about stuff like on spring boot stack. to create links etc. and all the HAL _embeed stuff. https://github.com/marzelwidmer/hateoas-demo/blob/master/src/main/kotlin/ch/keepcalm/hateoas/customer/CustomerResource.kt resp. https://docs.spring.io/spring-hateoas/docs/1.2.4/reference/html/#reference will be nice maybe a DSL. if there already is a feature in progress it will be a pleasure to help :) to learn better kotlin :)
h

hhariri

03/02/2021, 8:04 PM
We have this feature request https://youtrack.jetbrains.com/issue/KTOR-1192, which you’re welcome to add some comments/vote on.
m

marzelwidmer

03/03/2021, 8:00 PM
@hhariri thanks
@hhariri hello I just realize that
ktor
is also used for
kmm
as
http
client framework ? https://medium.com/globant/kotlin-multiplatform-mobile-kmm-code-sharing-between-android-and-ios-9a9af66e2655 about
hatoes
support will be then also nice to have support then as
hateoas traversion client
https://docs.spring.io/spring-hateoas/docs/current/api/org/springframework/hateoas/client/Traverson.html what U think .. about it ? https://docs.spring.io/spring-hateoas/docs/current/reference/html/#client we have at the moment in our company 
ios
 and 
android
 native clients who have different  support about (own impl.)  how to calk with our 
HAOEAS REST API
 if this comes   together  with maybe a 
KMM
 architecture I think I gan pushe some innovation  in our company 🙂 maybe this is something to discuss with your 
JetBrain
 collects 😉 ?
I add some comment in the ticket again 🙂
🙏 1
71 Views