Skip to content
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 record type #53

Open
kunga opened this issue Dec 17, 2021 · 0 comments
Open

Support record type #53

kunga opened this issue Dec 17, 2021 · 0 comments

Comments

@kunga
Copy link
Member

kunga commented Dec 17, 2021

For example, binding of

record MyRecord(string A, [property: Secret] string B, int C);

will fail with error

Vostok.Configuration.Binders.SettingsBindingException : Failed to bind settings to type 'Vostok.Configuration.Tests.ConfigurationPrinter_Tests+MyRecord':
	- System.MissingMethodException: Cannot dynamically create an instance of type 'Vostok.Configuration.Tests.ConfigurationPrinter_Tests+MyRecord'. Reason: No parameterless constructor defined.
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

No branches or pull requests

1 participant