Vincent et-al,
If I've got a table that I'm trying to declare that will have either a list or map but it's not known at the time of declaration -- only when the data is created/saved, is that possible? It seems like I can do it in groovy without it complaining -- similar to the following :
Entity('anEntity', extends: 'Supplier') {
...
list 'names' ,mandatory:true
decimal 'amount' ,mandatory:true
map 'inventory', mandatory: true
...
}
Thanks!
P.S. Is there any sort of array type by chance? I've got a family entity that needs to have an array of N children entities and I'm not sure what the best way to do that is.. Suggestions?
