FieldTypeToValidationBuilder<T, FT>: FT extends String
    ? StringValidationBuilder<T, never>
    : FT extends Integer | Float
        ? NumericValidationBuilder<T, never>
        : never

Maps a ModelFieldType to the appropriate validation builder type

Note: This type intentionally uses the public interfaces which don't expose the getRules method

Type Parameters