Bruno Félix

Results 6 comments of Bruno Félix

What I like to do for that scenario is do define a data class that represents the domain model you wish to send/receive via REST or whatnot, and then you...

Well I guess exposing the id is pretty easy: ```Kotlin data class MyAppUser(val id: Long, val email: String, val realName:String) (...) fun toModel():MyAppUser{ return MyAppUser(id.value, email, realName) } ```

@tylerbobella I put together a small gist, hope it helps: https://gist.github.com/felix19350/bcb39e50820dcc6872f624d2e925dd9a

Added license header and fixed failing tests @gunnarmorling

Further improvements to the parsing mechanism replacing calls to `Double.parseDouble` and double precision arithmetic with integer arithmetic. Updated execution time: 1:02.62

@gunnarmorling rebased PR as per your request. Sorry about that!