morbidmerve
03/12/2019, 2:39 PMjeggy
04/29/2019, 3:16 PMpgutkowski
hasn't been active for a few months and not publishing new releases.
Current latest release by us is:
compile 'com.apurebase:kgraphql:0.4.1'
janvladimirmostert
06/09/2019, 7:17 PManthony castillo
01/02/2020, 4:53 AMZoltan
03/04/2020, 9:08 AMYuri Kornienko
04/09/2020, 7:29 AMStrum355
04/10/2020, 11:14 PMStrum355
04/12/2020, 7:16 PMYuri Kornienko
04/15/2020, 9:29 AMYuri Kornienko
06/14/2020, 12:44 PMMattlangsenkamp
07/06/2020, 4:16 AMmanlan
07/18/2020, 6:18 PMmanlan
07/29/2020, 6:56 PMmanlan
08/08/2020, 4:31 PMmanlan
08/14/2020, 4:59 PMInaiat
08/31/2020, 12:41 PMmanlan
09/03/2020, 5:37 PMMattlangsenkamp
09/14/2020, 2:23 AMMattlangsenkamp
10/02/2020, 12:08 AMMattlangsenkamp
10/25/2020, 6:41 PMMattlangsenkamp
11/09/2020, 6:28 PMmanlan
11/16/2020, 5:08 PMMattlangsenkamp
11/20/2020, 6:12 PMpy
01/06/2021, 5:22 AMpy
01/06/2021, 5:26 AMinstances(className: "com.squareup.example.Foo") {
someField
someOtherField
}
Tristan F.-R.
01/06/2021, 3:51 PMtim
03/21/2021, 3:15 PMandylamax
04/25/2021, 10:24 AMandylamax
04/29/2021, 9:12 AMvio
07/29/2021, 12:32 PMvio
07/29/2021, 12:32 PMjeggy
07/29/2021, 12:46 PMvio
07/29/2021, 1:14 PMuser
,
Is there a way to remove the user details from context with a logout mutation?
context { +user }
schema {
mutation("logout") {
resolver { ctx: Context ->
val user = ctx.get<User>()
// I'm looking for something like bellow
ctx.clear()
}
}
}
jeggy
07/29/2021, 1:53 PMcontext { +user }
. As that code is being run upon every request. So if you want to clear the session, it's something that needs happen outside of KGraphQLschema.execute()
?vio
07/30/2021, 8:08 AMschema.execute
at the start of the application, my confusion was around understanding that the context is build at each request but makes sense now 🙂 I've tried clearing the session outside of kgraphql
and that was just what I needed, thanks 🚀