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
I guess I expected based on the Map abstraction that you could deserialize config into either a map or a struct. One of the first tests I wrote did this:
I guess I expected based on the Map abstraction that you could deserialize config into either a map or a struct. One of the first tests I wrote did this:
Which "worked" but produces a panic if you try Loader.Load.
We should maybe try to make more clear that you should only be passing structs, maybe by also panicking further down.
The text was updated successfully, but these errors were encountered: