Minimal example of my issue with virtual fields on Cortex
- Clone the repository
- run
composer install
- create an empty db and edit the db constructor in
index.php
- serve the app in your preferred way
- access the
/setup
url to setup and populate the tables - access the
/
url and you'll be able to notice that thevirtual_two
andvirtual_three
fields are instances ofCortex
andCortexCollection
respectively. Ideally I'd want them to be arrays, just like thetwo
andthree
fields.