Prevented updates from running on the server if they fail client validation

This commit is contained in:
Stefan Zermatten
2022-03-08 13:15:48 +02:00
parent 9732db8d67
commit e7f718c785
10 changed files with 893 additions and 20 deletions

View File

@@ -1,4 +1,9 @@
import SimpleSchema from 'simpl-schema';
import { set } from 'lodash';
set(Meteor.settings,
'packages.collection2.disableCollectionNamesInValidation',
true);
SimpleSchema.extendOptions([
'parseLevel',