Skip to content

[Go] CSV Reader should use AppendValueFromString for extension types #35188

@hermanschaaf

Description

@hermanschaaf

Describe the bug, including details regarding any error messages, version, and platform.

Currently the Go CSV reader uses dec := json.NewDecoder(strings.NewReader("+ str +")), adding quotes around the string. This works for the tested cases, like UUID, because UUID strings do not contain any additional quotes. However, this approach fails to account for extension types that have quotes that in the string themselves. Instead the recently added AppendValueFromString should be used, as this provides the opposite operation for the write which uses ValueStr.

Component(s)

Go

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions