Comments (6)
I agree. It's a fairly common pattern to validate against a database to check if a given value exists there.
from revalidator.
It would be very useful for me too.
from revalidator.
waiting for async before can use it.
from revalidator.
This is discouraging to see that this issue was opened in 2013 and it still isn't resolved. Async support is fundamental in node programming. I can't even use promises because the conform
function can't see the returns I'm making in a .then()
...this should definitely be supported
from revalidator.
This project isn't supported much anymore. I'm guessing the people that support it are super busy, or just don't have time to do it. My team and I have just been updating the code to match what we need.
from revalidator.
I and my colleagues maintain fork (conform.js)[https://github.com/okv/conform.js] main features we've added - optional source modifications (apply default values to the source object, apply type casting results to the source object, etc). But we also don't have async conform function because we don't need that. But if somebody do the pr (with tests), we could accept that =)
from revalidator.
Related Issues (20)
- source missing license header HOT 1
- allowEmpty true, minLength > 0 throws a validation error HOT 2
- Crashes when 'additionalProperties' is a schema. HOT 1
- Object validation throwing error HOT 1
- Array validation HOT 3
- ensure property is not present
- undefined passes enum test HOT 2
- Can lock up system with malicious email strings
- Input for type 'number' divisibleBy issue (2.99 not divisible by 0.01)
- Validation array of objects
- Validate key without making it required?
- type validation with object throws error message
- It doesn't really check if the value passed is an object
- Decimal Digits validation fails with type number
- Validating a revalidator schema
- Maintaining revalidator HOT 4
- security contact
- GHSL-2020-352: seeking security contact for your project
- Export types and interfaces
- vulnerability in revalidator
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from revalidator.