Closed greedyj4ck closed 1 month ago
Hi @greedyj4ck, Thanks for posting. Any Mongo users out there, who have seen something like this?
I am attaching RoleId's array within user data, could it be that [] characters are not properly escaped or something ?
Its a compatibility problem with old mongodb 4.x version. After upgrading to newest one, issue is gone.
Good to know what the cause was; thanks for posting the solution.
Hello. I am having an issue every time express-session need to access information from database. Sessions are being created/destroyed correctly but I am having constant errors in my express app logs. Seems there is a problem with parsing data stored.
Using: "prisma": "^5.12.1", "@prisma/client": "^5.12.1", "@quixo3/prisma-session-store": "^3.1.13",
My prisma Session model:
Example session stored in mongodb: