Realm Result/Object -> String is broken #2042
Labels
First-Good-Issue
First Good Issue - Relatively easy issue for new contributers
O-Community
T-Feature
Goals
Be able to stringify a realm result for an http api
Expected Results
A list of objects like defined in the models
Actual Results
Arrays are Objects
{ "0": "Array Item 1", "1": "Array Item 2" }
Steps to Reproduce
Create any realm model (At least one property List) and stringify the result of any query.
Code Sample
Please, add an option to convert a realm result/object to a plain javascript object or an method to stringify results. Of course there are workarounds, but all of this makes it hard to use realm.
Version of Realm and Tooling
Btw do not forget #2018 good idea to fix both
The text was updated successfully, but these errors were encountered: