arturo-lang / grafito

Portable, Serverless & Lightweight SQLite-based Graph Database in Arturo
MIT License
145 stars 8 forks source link

Convert common objects to real objects/types? #39

Open drkameleon opened 11 months ago

drkameleon commented 11 months ago

Given that we are handling different types of data repeatedly, through Dictionary values, I think it would make perfect sense to define them as proper types and then create objects (of the aforementioned types) accordingly.

It will make the code quite cleaner + they can be used as part of differentiating what-is-what (instead of relying too much on our core types, which is more than often since this is what we do e.g. for node/edge filters)