Meteor-Community-Packages / meteor-simple-schema

Meteor integration package for simpl-schema
https://github.com/Meteor-Community-Packages/meteor-simple-schema
MIT License
919 stars 161 forks source link

AutoValue Doesn't Run On Server #717

Closed mokaid closed 6 years ago

mokaid commented 6 years ago

Hello Guys,

I don't know what is going on with the AutoValue A simple schema file is in common between the server and the client I have autovalue where it runs twice on the client side only and nothing on the server

---> autovalue { if(Meteor.isServer) console.log('server') if(Meteor.isClient) console.log('client') } result : client , client

Am i missing anything or this is a normal behavior of the autovalue, please advice

aldeed commented 6 years ago

This was most likely fixed in collection2-core@2.0.2