answered
2019-12-19 11:55:33 +0200
This post is a wiki.
Anyone with karma >75 is welcome to improve it.
After I made my first app for SFOS, someone asked me why I had both a wrapper around QSettings (Nemo.Configuration wasn't allowed in Harbour AFAIRC?), and a wrapper around LocalStorage.
At that time it was just to feel this new platform on it's teeth to see what could be used; now my answer is, that it's just not worth the effort to manipulate lists, especially lists of objects, that way. That's what a database is for, and doing it that way would be trying to reinvent the wheel, just more error prone and difficult to maintain.
I already use a simple database layer, that I use in my other apps, and I will just make a couple of methods and it's done and tested.
I have marked @michfu's answer as accepted, because it's the correct answer to my question, and solves the issue of storing simple arrays.
It was already possible, but is not anymore. I stored an array of objects with a ConfigurationValue. It never worked as a property of a ConfigurationGroup
...but since some time this also doesn't work anymore.
michfu ( 2019-12-17 18:23:24 +0200 )editOK, thanks. So maybe this should be changed to a bug report. I have no idea where to submit an actual report though.
Tanghus ( 2019-12-17 19:37:36 +0200 )edit