from package.js , if I use collection2 package even before add my:package , SimpleSchema global is reset over my definition.
How can avoid this?? … right know I can´t have tinytest for my:package
and collection2 on the same package
Ah! ok, you got a feel!! . Thanks for your sixth sense.
I need store some fields on schema with info of: relations, models, … Although this fields are SimpleSchema valid I need track then. When, for example, I merge some schemas this ‘specials’ fields should be manage differently.
Initially I have different class name like, new MetaSchema({}) but always forgot to use and at some point I have to touch attachSchema function too. Because that I extend SimpleSchema, it behave like usual do and different when found my add syntax.
EDIT: I don´t test attachSchema yet, will see …
EDIT2: Tested with attachSchema and work with extended SimpleSchema. Good!