Closed pepkin88 closed 1 year ago
Sure, we have thought of this previously, and if your identifier contains a space, for example, Mingo does this automatically. We will improve this for cases where the identifier is illegal in JS. Thanks!
A new Mingo release candidate is available for download (v1.10.0-rc2). This issue has been fixed in this release. Please check it out and let us know if it works as expected. Thank you!
Some field names can be legal, but might not be a legal JS identifier, like
content-type
. I had some issues with adding a column labeled asreqHeaders.content-type
. The value wasundefined
for all rows, so I had to change the path manually in the Customize column window toreqHeaders['content-type']
, then it worked (I think, I'm not 100% sure, but I cannot check it now, because of #475).I think it should work correctly from the start, without the need to manually adjust the path.
Having a dash/hyphen in a name is just an example, there are more names that are field names but not identifiers. Like starting from a digit
"2good2btrue"
, have spaces"Mingo App"
, or some other character"email@address.com"
,"wait!theresmore"
,"['I might look like an array, but I am not']"
, etc.