You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I also saw this issue but i am already passing the object directly without explicitly defining an id. It is worth noting that the DatabaseSession interface is part of an external library and i have no control over it.
Basically, if you don't have a constructor field (which JS provides for classes), you need to use the findCollectionNameForObjectLiteral on the conventions to figure out what the type is.
Uh oh!
There was an error while loading. Please reload this page.
I am trying to build an adapter for Lucia but the DatabaseSession object is saved in the @empty collection.
I also saw this issue but i am already passing the object directly without explicitly defining an id. It is worth noting that the DatabaseSession interface is part of an external library and i have no control over it.
At first i though this might be due to the id being generated by
Lucia
instead of being null, but when i tried this:I still received the same result (I also checked in the debugger to see if the id is null, and it was.).
EDIT: This Worked. The session is saved in RavenDbDatabaseSession collection :
EDIT 2: That seemed to work:
The text was updated successfully, but these errors were encountered: