-
Notifications
You must be signed in to change notification settings - Fork 14
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
Conventions has frozen after 'DocumentStore.Initialize()' and no changes can be applied to them. #21
Comments
It looks like the embedded server does document store init implicitly so it's getting locked right after My questions so far:
|
According to https://ravendb.net/docs/article-page/4.2/csharp/client-api/creating-document-store,
Does that mean that https://github.com/ryanheath/RavenDB-NodaTime/wiki/Installation-and-Configuration is incorrect (outdated)? |
Calling documentStore.ConfigureForNodaTime(DateTimeZoneProviders.Tzdb); As far as I can see, it looks like the test driver is not using the embedded documentstore for the client, but it creates a client separately, see For your question about the deserialization of LocalDate into string, do you have a project I can take a look at? |
I have update the wiki to reflect the 4.x initialization order. |
I found workaround!
|
I created pull request |
I'm getting this exception:
Code:
Moving
ConfigureForNodaTime()
beforeInitialize()
produces the same exception.Any ideas appreciated.
The text was updated successfully, but these errors were encountered: