GithubHelp home page GithubHelp logo

Async conform support about revalidator HOT 6 OPEN

flatiron avatar flatiron commented on June 18, 2024
Async conform support

from revalidator.

Comments (6)

markstos avatar markstos commented on June 18, 2024

I agree. It's a fairly common pattern to validate against a database to check if a given value exists there.

from revalidator.

mariuszdev avatar mariuszdev commented on June 18, 2024

It would be very useful for me too.

from revalidator.

dhoomm avatar dhoomm commented on June 18, 2024

waiting for async before can use it.

from revalidator.

ChuckPierce avatar ChuckPierce commented on June 18, 2024

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.

Jason-Bellomy avatar Jason-Bellomy commented on June 18, 2024

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.

okv avatar okv commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.