Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Async Validation with Ajv #1386

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Commits on May 28, 2019

  1. Add initialization with async validation

    Introduces a way to init JSON Forms with an async validation execution.
    This is necessary to support async-marked schemas for which the user
    can register async validation functions in Ajv.
    
     * Introduce separate init actions with and without validation
     * Offer a thunk which executes the init action without validation
    and sets the errors afterwards once Ajv finished validation
    sdirix committed May 28, 2019
    Configuration menu
    Copy the full SHA
    3b28e76 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    097d72d View commit details
    Browse the repository at this point in the history
  3. Configure async example

     * Init all examples with async validation
     * Configure person example to be async
    sdirix committed May 28, 2019
    Configuration menu
    Copy the full SHA
    bf571dd View commit details
    Browse the repository at this point in the history