Closed eraare closed 3 years ago
I have just fixed this in the latest release as I encountered it myself. Sometimes an err
object is thrown but the name
property is restricted to only having a getter and not being able to be changed.
https://github.com/koajs/generic-session/releases/tag/v2.1.2
TypeError: Cannot set property name of which has only a getter
Hi, Gus! I cannot understand the APIs of this module. When I use it like this: session.name = 'Koa', there will be an "TypeError: Cannot set property name of which has only a getter" occured. Who can help to explain this problem?