Skip to content

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

Description

@MatthijsPrent

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions