Open macrozone opened 8 years ago
I think this is a great pattern for apps. I use a lot of attributes that are extensions of others, specially relationships.
Agree, It works quite nice!
One issue is that meteor shows a warning because of duplicate of publishs when an attribute is used multiple times as the publicationName is the same.
Maybe we should create a wrapper-function that sets template and publicationName
its possible to create new attributes by extending other attributes. But i am not sure if this is the easiest way to do so, at least it is not totally "dry", I have to refer to the template of the original attribute:
E.g. create a attribute that enables to select 1-many posts and shows the option with an image of the post:
It's pretty cool that this works out-of-the-box, but they may be a more generic way. :-)