busypeoples

Results 75 comments of busypeoples

Nested shouldn't be a problem either. Check `isValid` in the `revalidation` library. It works with nested structures. https://github.com/25th-floor/revalidation/blob/master/src/utils/isValid.js This is how `revalidation` calculates the valid state after validating with spected....

If you need any help, let me know. I really like the idea of combing spected with `Formik`

@cloud-walker @daniele-rapagnani Thanks for the very valuable input! I would rather avoid making `isValid` or `valid` a part of the API. I would rather like to see `spected` as a...

@benneq I will try to provide a detailed answer to your problem tomorrow!

That is a very good example. What it would need is a way to define validation functions that validate the parent data and depending on the result either stop or...

No, that isn't possible right now. spected runs all functions and collects all messages at the moment. Let me see how we can solve this.

I will take a look at the types! Sure, we can implement it internally, it should be straight forward to use, I think this is the important part.

The problem is that spected currently always expects an array or object as input, so the problem is recursion. I will see how we can improve this.

Yes #104 and #106 are the same issue. Will have a look at it later on.