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
@tim-cools That probably needs to be part of a larger Identity Map feature. I've gone back and forth on whether or not we should do that underneath DocumentSession.
I can be convinced either way. I can think of a scenario or two within the system at work we're building Marten for that could use it.
I agree that it normally doesn't happen. But I'm creating an implementation of http://www.asp.net/identity backed-up by PG and I face this situation when I plug in the library for storage.
I also think you need an Identity map to detect dirty objects when doing a SaveChanges to the store if you want to support automatically updates like ravendb and the orm's does.
Scenario:
(SaveChanges not called yet)
I expect that the second call returns the object stored by the first call from a cache. What do you think?
The text was updated successfully, but these errors were encountered: