This may again be something that goes beyond the scope of a mere importer. But I'll describe my idea anyways...
Almost always when I import objects using NeoCSVReader, they are going to end up in a Collection of some object. And each of them will have to have a backpointer to the object they are attached to.
Like, say I import OrderItems. They'll all be added to the same order, and it would make sense for them to have the order in their #order variable. Or I'd like to user a method like MyOrder addItem: importedObject after reading them.
So something like a post-import-Block that gets evaluated with every imported object could come in very handy.
What do you guys think?
This may again be something that goes beyond the scope of a mere importer. But I'll describe my idea anyways...
Almost always when I import objects using NeoCSVReader, they are going to end up in a Collection of some object. And each of them will have to have a backpointer to the object they are attached to.
Like, say I import OrderItems. They'll all be added to the same order, and it would make sense for them to have the order in their #order variable. Or I'd like to user a method like
MyOrder addItem: importedObjectafter reading them.So something like a post-import-Block that gets evaluated with every imported object could come in very handy.
What do you guys think?