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

string containing numbers seperated by comma's is not loaded correctly

Open MatthijsPrent opened this issue 3 years ago • 0 comments

I am not sure whether it is a question or bug.

I have a string that I try to save into a string field from the type provider. The string looks something like this:

let toSaveValue = "1, 2, 3, 5, 6,7,8,9,10"

Now the saving goes correct and the result in my Yaml file is (note: "Name:intArray is unrelated to this": image

However, after reading it back, it all the comma's are gone, as can be seen in the following image: image

I have tried enclosing it between quotation marks before saving, however, this results in the typeprovider enclosing it with quotation marks as well, which results in more of a workaround then a fix.

What should I do to save this string of numbers and comma's?

MatthijsPrent avatar Jul 29 '22 07:07 MatthijsPrent