Skip to content

Support for dictionary #53

@MihailsKuzmins

Description

@MihailsKuzmins

It is not possible to configure models where keys start with numbers

"Section": {
    "123": 321,
    "234": 432
}

I tried adding the dictionary directly, but it didn't help either:

MockConfiguration
	.SetupConfiguration()
	.Returns(new
	{
		Section  = new Dictionary<string, int>
		{
			{ "123", 321 },
			{ "234", 432 }
		}
	});

Need support for it!!!

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions