FSharp.Configuration
FSharp.Configuration copied to clipboard
List cannot contain elements of heterogeneous types (attempt to mix types: [])
FSharp.Configuration 1.1.0
I'm getting this error when using the YAML file from http://editor.swagger.io/#/.
It seems to have a problem with
- api_key: []
is this a bug or does it works as intended?
FSharp.Data.JsonProvider seems to handle this by returning FSharp.Data.Runtime.BaseTypes.IJsonDocument[].
We could return obj [], but it's unlikely the type you want. Can you add a single fake element from which we could infer the type?