Skip to content

Allows non-public noargs constructors to be used when deserializing objects#2

Open
gillesmeyer wants to merge 3 commits intotimfel:masterfrom
gillesmeyer:noargs-ctor-visibility
Open

Allows non-public noargs constructors to be used when deserializing objects#2
gillesmeyer wants to merge 3 commits intotimfel:masterfrom
gillesmeyer:noargs-ctor-visibility

Conversation

@gillesmeyer
Copy link
Copy Markdown

Hi,

In the current implementation, objects must exibit a public constructor with no arguments in order to be deserialized. However, it is generally better to hide that noargs constructor that is used for the sole purpose of deserialization.

The current pull request allows the hessian csharp client to use non-public noargs constructors.

Regards,
Gilles

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant