Function finishFluentValidatorBuilder

  • Call from within a fluent function once you have all parameters fully setup. It will complete the setup.

    Parameters

    • thisFromCaller: any

      Should be a FluentValidatorBuilder. Fluent function expects to pass its value of 'this' here. However, its possible self is not FluentValidatorBuilder. We'll throw an exception here in that case.

    • conditionType: null | string
    • conditionConfig: Partial<ConditionConfig>
    • errorMessage: undefined | null | string
    • validatorParameters: undefined | null | FluentValidatorConfig

    Returns FluentValidatorBuilder

    The same instance passed into the first parameter to allow for chaining.

Generated using TypeDoc v0.25.12