Session middleware for Oak
Is it possible for the _**_expire**_ field sent to the database (MongoDB) to be of type **Date**? Currently, the **SessionData** interface defines _**_expire**_ as _string_ | _null_. However, when the _**_expire**_ field is of type **Date**, MongoDB allows setting up a TTL index that automatically removes expired sessions.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by karolkt1 and has received 0 comments.