Léo Pradel

Results 142 comments of Léo Pradel

@darkbasic I am still willing to merge this one, happy to chat on Twitter or Discord!

Hey @darkbasic, it's been a long time I didn't check the changes, I don't really have time now but I can release the change made on this pr as an...

Okay this is really bad, I wasn't aware of this, is there some other recommended storage? As a workaround you can store in js-cookies to get persistent sessions on safari

I didn't try but didn't get any complaints from our users so far

It's true but modern framework like angular and react auto sanitize the components rendered and prevent the xss attack.

@nmaro we are currently thinking about adding cookie sessions support and use jwt only to obtain that cookie yeah

I see, well the first thing that is coming to my mind for a generic solution would be to actually fetch the user yourself inside the graphql context. Right now...

> will it be architecture-correct to create another DatabaseInterface like database-mongo but database-mongoose (seems to be too much overhead) This is an option but definitely looks like too much overhead...

@nsine okay I guess it's something not easy to do currently and probably the best way to achieve this would be to have a mongoose database adapter. But that would...

Can you add an example about how do you instantiate the server class with the token manager?