jazzdotdev / contentdb

The Jazz Database which Stores Documents in Files and Supports Version Control and Sharing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

schema polymorphism / model inheritance / object oriented data types

naturallymitchell opened this issue · comments

1

https://github.com/jazzdotdev/lighttouch/blob/364b3e3cb1be8caac90ab212ce3db4593d7d4b78/loaders/models.lua#L22

Lighttouch loaders preprocess everything, so this would make sense to do that way too..

While loading the models, check for this type of syntax and setup the data interfaces to Classes instead of database objects