Function finishFluentConditionBuilder

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

    Parameters

    • thisFromCaller: any

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

    • conditionType: null | string
    • conditionConfig: Partial<ConditionConfig>
    • Optional valueHostName: string

      Overrides the default valueHostName, which comes from the ValidationManagerConfigBuilder.input(). Fluent function should supply this as a parameter so long as its ConditionConfig implements OneValueConditionConfig. Since these conditions are children of another, they are more likely to need the valueHostName than those in FluentValidatorBuilders.

    Returns FluentConditionBuilder

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

Generated using TypeDoc v0.25.12