Currently, only class-based model storage is possible. It would be nice to provide a wrapper function or helper to seamlessly insert and query plain javascript objects.
This would require figuring out a story for storing the "name" attribute of objects, and figuring out how to apply constraints and indexes to the object shapes themselves. I'd rather not go with something like prop-types for this if possible.
Currently, only class-based model storage is possible. It would be nice to provide a wrapper function or helper to seamlessly insert and query plain javascript objects.
This would require figuring out a story for storing the "name" attribute of objects, and figuring out how to apply constraints and indexes to the object shapes themselves. I'd rather not go with something like prop-types for this if possible.