-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Make TypeConverterOptionsFactory an instance variable. #318
Comments
Hi Josh I was wondering if you are planning v3 any time soon. Regards. |
Hopefully in the next few months. I've been sick the past 2 weeks, and just busy in general. I want to get the current items out there done too before I do 3.0. |
Hi Josh, this would be a great option to reduce explicit mapping, reducing coding overhead. This would make writing anonymous types with custom datetime format a lot easier, like this one:
In the meantime I will use explicit class mapping (much more code) or use the memory inefficient and ugly way of making DateTime values string before:
|
This is done and will be in NuGet version 3.0.0-beta6. |
Having
TypeConverterOptionsFactory
be static and hold instances of types, we run into a problem in a multi-threaded environment if you want to use different cultures. #290 (comment)Make
TypeConverterOptionsFactory
an instance on configuration like mentioned here. #199 (comment)The text was updated successfully, but these errors were encountered: