Pavel Evdokimov

Results 26 comments of Pavel Evdokimov

How about method registerJSONValidator? I like ajv (https://github.com/epoberezkin/ajv) and it will be cool if i can use it instead of z-schema. Not as additional validator, but as main. ``` javascript...

Or maybe better make it as option of Sway.create ``` javascript Sway.create({ definition: ..., mainValidator: validator // if no validator in options - use default }).then ```

So you disagree to allow user use another validators? I have done some changes for using alternatives, and I can show you them.

We can say: every validator must have this methods: getLastErrors, validate (it's like interface). And validate must return object which contains "errors" and "warnings". It's no problem to wrap any...

My main desire is to use "v5 Propose" in schemas, because they are very tasty

How I see it: userA wants to write a code and use Sway. If z-schema satisfy him, he will use Sway with default validator and use z-schema errors' format. (Like...

Anyway even without v5 features, why I can't use fastest validator insted of z-schema?

1) As for me, I use only LTS. (maybe we can keep one outdated version like 8.x now) 2) If we follow Node.js plan you can update it once a...

By the way - we can put extra options to separate object for both methods `updateSubscriptionPrice` and `updateSubscriptionPlan` Like this: ``` updateSubscriptionPlan (subscriptionID, planID, options = {prorate: false}) { //...

Did you mean replica set or several indipendent databases?