Astronomy 2.0 Validation

Hi, I’m working on validation in Astronomy 2.0 and I need your feedback. Here is a link to GitHub discussion https://goo.gl/EAK4Ig

If you have any ideas, suggestions please go to the link above and post your comment there.

Thanks!

3 Likes

Can we collaborate to make https://github.com/meteor/validation-error a common point of integration between Methods, Astronomy, SimpleSchema, form packages, and others? We can change the API if necessary. @aldeed do you think this will be valuable?

6 Likes

Yes, I would like it to be a standard for DDP field validation errors because then we can componentize validation UI pieces around that standard.

1 Like

I agree too but let’s just make it lightweight, without any unnecessary dependencies.

Sure, we can make it depend on check instead of simple-schema if you want. We were just using SS for argument checking.

2 Likes

Now that’s what’s up.

1 Like