FSharp.Configuration icon indicating copy to clipboard operation
FSharp.Configuration copied to clipboard

[YamlConfig] Allow optional fields in lists

Open vasily-kirichenko opened this issue 9 years ago • 4 comments

Langs:
  - Name: F#
    HKT: false
    Cool: true

  - Name: Rust
    HKT: false

  - Name: Haskell
    HKT: true
    Macros: true

would generate:

type Langs_Type() =
  member __.Name: string
  member __.HKT: bool
  member __.Cool: bool option
  member __.Macros: bool option

Hint: see how XmlProvider/JsonProvider from FSharp.Data do the same.

vasily-kirichenko avatar May 20 '15 19:05 vasily-kirichenko

Any idea if this will get implemented?

koenmetsu avatar Jan 18 '16 16:01 koenmetsu

No idea.

vasily-kirichenko avatar Jan 18 '16 16:01 vasily-kirichenko

is there any workaround to achievie this?

Pawlakov avatar Oct 04 '22 09:10 Pawlakov

@Pawlakov I believe no.

sergey-tihon avatar Oct 04 '22 19:10 sergey-tihon