-
-
Notifications
You must be signed in to change notification settings - Fork 104
Closed
Labels
Description
Is your feature request related to a problem? Please describe.
If arguments for formatting are coming as IReadOnlyDictionary (not upcastable to IDictionary), there is no built in Source that can handle it.
,
Describe the solution you'd like
Should be a straightforward piece to add IReadOnlyDictionary support to DictionarySource, same way as it handles IDictionary.
Describe alternatives you've considered
Workaround is to convert IReadOnlyDictionary to IDictionary, but that would cause additional allocations.
There is always a possibility to implement custom Source on consumer side.