fwilhe
09/10/2020, 12:30 PMJúlio Santos
09/10/2020, 7:39 PM"'Access-Control-Allow-Origin': '*'"
, has anyone done this?Poohrang
09/12/2020, 2:38 PMhttp://www.domain.com/images/pic.png▾
Júlio Santos
09/15/2020, 2:00 PMVladyslav Sitalo
09/15/2020, 9:14 PMasad.awadia
09/18/2020, 2:19 AMSangeet Narayan
09/18/2020, 2:22 AMAyodele
09/21/2020, 2:30 PMJúlio Santos
09/24/2020, 2:02 PMJúlio Santos
09/30/2020, 6:03 PMEmployee.select { Employee.id = id and (Employee.name = name)}
is that correct?Nicodemus Ojwee
10/03/2020, 11:08 AM@Serializable
data class User(
var email: String = "",
@JsonIgnore var password: String = ""
)
Which annotation can i use on the password field to ignore it "only" in the http response but not within the application.
For example
Ignore it when:
get {
call.respond(User("email", "some password"))
}
Don't ignore it when:
fun checkUserPassword(email: String) {
val user = getUserPasswordFromDatabaseByEmail<User>(email)
// The print below does not work (I want it to work since it is not yet part of the response)
println(user.password)
}
Abishek Dulal666s
10/05/2020, 7:05 PMSlackbot
10/10/2020, 12:40 PMSiva Ganesh
10/12/2020, 4:18 PMetolstoy
10/15/2020, 12:12 PMRishav Sharan
10/16/2020, 10:30 PMHai Tran
10/18/2020, 1:52 PMAhmed Tikiwa
10/23/2020, 8:51 AMmarzelwidmer
10/29/2020, 11:55 AMjames
10/30/2020, 11:14 AMakuleshov7
10/31/2020, 1:37 PMAnaniya
11/02/2020, 6:23 AMdata class WR(status: String)
@RestController
@RequestMapping("/webhook")
class WebhookController {
@PostMapping
fun postMessage(@RequestBody json: String) : WebhookResponse {
return WR("ok")
}
}
to ktor , i am little bit confusedsergeyb
11/03/2020, 8:46 AM-DkotlinOptions.suppressWarnings=true
?Lev Ekasov
11/03/2020, 8:53 AMNuru
11/05/2020, 9:04 AMcy
11/06/2020, 10:17 AMHai Tran
11/08/2020, 5:13 AMNuru
11/08/2020, 1:27 PMdave
11/11/2020, 1:52 PMdagomni
11/11/2020, 4:59 PMdagomni
11/11/2020, 4:59 PMBig Chungus
11/11/2020, 5:15 PMFerran
11/11/2020, 5:39 PMBig Chungus
11/11/2020, 5:39 PMdagomni
11/12/2020, 5:49 PMRustam Siniukov
11/12/2020, 6:16 PMESchouten
09/02/2021, 10:21 PMRustam Siniukov
09/06/2021, 7:37 AMe5l
09/06/2021, 9:53 AM