As commented in the doc, in the Sessions section, this is one bit of the code I'm not 100% confident in. First, is this the right way to implement serialize/deserialize?
Second, I'm a little unclear why this even works. How is our SessionSerializer used by the nest-passport package? I'd like to at least understand it, and probably provide a bit of context in the doc.
As commented in the doc, in the Sessions section, this is one bit of the code I'm not 100% confident in. First, is this the right way to implement serialize/deserialize?
Second, I'm a little unclear why this even works. How is our SessionSerializer used by the nest-passport package? I'd like to at least understand it, and probably provide a bit of context in the doc.