And there are more values that has to be treated differently, e.g. fonts, file paths, theme.
Cheers, Juraj > On Oct 15, 2015, at 08:32, Yuriy Tymchuk <[email protected]> wrote: > > First of all you can add additional data like a version of the project for > which the setting should work. > > Secondly it depends how much do we want to stress the developers. Because you > cannot serialize classes in STON. So either we store “StoredSetting” and > “StoredClassSetting” where the second one knows that is has to convert a > value to a class, or we force developers to do that. I late the second one > more… > > Uko > >> On 15 Oct 2015, at 13:09, Damien Cassou <[email protected]> wrote: >> >> >> Yuriy Tymchuk <[email protected]> writes: >> >>> It is like that: >>> >>> [ >>> StoredSetting { >>> #settingNodeIdentifier : '#shoreLine#autoSubmit', >>> #realValue : true >>> }, >>> StoredSetting { >>> #settingNodeIdentifier : '#reIgnore', >>> #realValue : Set [ ] >>> } >>> ] >> >> why not: >> >> { >> '#shoreLine#autoSubmit' : true, >> '#reIgnore' : Set [ ] >> } >> >> >> -- >> Damien Cassou >> http://damiencassou.seasidehosting.st >> >> "Success is the ability to go from one failure to another without >> losing enthusiasm." --Winston Churchill >> > >
