Closed ar0311 closed 10 years ago
Thanks for the PR. However, this is not a good idea. The library shouldn't make any changes to provided IDocumentSession
implementation. That's why I throw the exception with a meaningful error message. Sorry but had ro reject :neutral_face:
Understood, just bringing to your attention the session generated by Autofac doesnt have OC = true and that causes the sample app to throw the exception as intended. I'd fix it but I don't anything about Autofac. If I'm not mistaken, Autofac needs to give the controller an instance of a document session with OC = true and this is not happening in the sample app.
...ed AsyncDocumentSession