Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'created_date' to Session. Inferred from ObjectId #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add 'created_date' to Session. Inferred from ObjectId #1

wants to merge 1 commit into from

Conversation

robcthegeek
Copy link

Hi Guys,

As per previous message (assume you got?) I have started piecing this together to form an actual cohort reporting system.

In doing so, I noticed one key thing - we don't have the 'created date' stored with the user, so I tried to add it. Ran in to some problems since the actual hydration of the Session is always an upsert.

I didn't want to change so much, so reverted my changes back and opted for the following - simply infer it from the ObjectId and expose the property on the Session.

Would be keen to hear your thoughts.

Best,
Rob

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant