You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just curious if there's any way to supply dynamic keys, like a Map<string, string>? eg. if I had a top-level Connections key, I could add in an entry for each DB connection.
I tried using Dictionary<string, string> but got a not implemented error.
Related information
macOS Mojave
FSconfig 2.1.6
3.1.300 .NET core
The text was updated successfully, but these errors were encountered:
Dictionary<string, string> is currently not supported as the target type. You can extend FsConfig to support this by adding an implementation like parseFSharpList.
You may have to consider the separator logic for separating each key-value entry. It'd be great if it is configurable like the SplitCharacter logic that we have for parsing FSharp List type.
Due to personal reasons, I am not actively working on any Open source stuff. If you can send an MR, I am open to review and merge it :)
Description
Just curious if there's any way to supply dynamic keys, like a
Map<string, string>
? eg. if I had a top-levelConnections
key, I could add in an entry for each DB connection.I tried using
Dictionary<string, string>
but got a not implemented error.Related information
The text was updated successfully, but these errors were encountered: