-
Notifications
You must be signed in to change notification settings - Fork 37
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
Support private setter #129
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I need to deserialize a document into a domain type where the properties have only private setters and no constructor is available.
In your implementation you don't allow to override the DefaultContractResolver because you recreate it each time the db connection is used, so i'm not able to resolve this by my own without creating new models.
So would you please allow overriding the DefaultContractResolver or add the following workaround to the current implementation?
Pull request: #130
The text was updated successfully, but these errors were encountered: