We are allowed to use 'validate', 'read', 'write', 'create', 'update', 'delete' but not index() within type definitions. It would be nice to be able to specify the index at the type level and have that index apply anywhere it is used.
Another reason is to tightly couple indexing to the type schema.
We are allowed to use
'validate', 'read', 'write', 'create', 'update', 'delete'but notindex()within type definitions. It would be nice to be able to specify the index at the type level and have that index apply anywhere it is used.Another reason is to tightly couple indexing to the type schema.