Open dburles opened 8 years ago
I use both collection hooks and collection helpers, and have a hard time thinking about not having them....
Not against this! Is there a specific implementation pattern you have in mind @dburles or just having support from scratch?
Hmm, say the Documents collection example is updated to include firstName and lastName fields you could then write something like this as an example:
Documents.helpers({
fullName() {
return `${this.firstName} ${this.lastName}`;
},
});
Otherwise I think it would make sense to just add support from scratch with the example listed in the documentation.
Seems like it would make sense! :)