hyperstack-org / hyperstack-org/hyperstack

return native strings instead of String Objects from attributes

Aperta
#312 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
538
Fork
41
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.