https://kotlinlang.org logo
Title
r

Rodrigo Silva

12/08/2019, 2:17 PM
How do you implemente hateoas with ktor?
s

spand

12/08/2019, 2:23 PM
I think thats a bit too open of a question to get a proper answer
r

Rodrigo Silva

12/08/2019, 2:53 PM
Reformulating.
In Spring there is Spring-Hateoas, to facilitate implementation.
Is there something similar in Ktor?
s

sonofblip

12/08/2019, 3:43 PM
Not that I’ve found, you’d have to implement it manually yourself. Though I’d ask whether or not hateoas is actually useful in general. Imo it’s a waste of time
👍 1
r

Rodrigo Silva

12/08/2019, 3:57 PM
Agree. But it's not my call. Bosses order.
m

Mike

12/08/2019, 7:42 PM
Ouch! I assume you've explained cost to implement and the fact that people generally don't use it? Or do you have a client that has asked for hateoas?
r

Rodrigo Silva

12/08/2019, 8:36 PM
Actually, I don't know the details. 😃 I'm a freelance, and what was passed to me were those requirements. I tried to argue but was unsuccessful
m

Mike

12/08/2019, 8:38 PM
Unless your boss refuses to listen to people, I'd try and explain it. And if your boss isn't the type to listen, then...