hyperstack-org / hyperstack-org/hyperstack

return native strings instead of String Objects from attributes

Open
#312 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
538
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Not completely sure why this is happening, but at the JS level column values that are of type text or string, get turned into JS String objects (i.e. `new String(s)`) This is transparent through the Opal system, but when passing such values to JS methods sometimes this causes confusion especially if the method is explicitily checking for typeof x === string

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.