alamid
alamid copied to clipboard
Rework model (again)
The model code is potentially buggy and partially inefficient.
- I think we should move some parts into an own class (e.g all the stuff related to
set,get,validate). - [ ]
setSchemaappears to be buggy when a normal and a shared schema are set (I'm not sure about this). - [x] The noop feature with
save,fetch,destroydoesn't work
This is just for the protocol, it's not relevant now :smile:
I would also like to exclude the schema handling (validation & schema defintion) as a separate module. Or maybe use an existing module if there is something suitable out there.
Yep, that's exactly what I'm planning. If there's no module that fits our needs we should extract this functionality into in independent module. This way anyone who doesn't want to use alamid entirely can use the indepedent module. Thus we can also focus on the important stuff within alamid.