diff --git a/Sources/StateKit/StateValidator/StateValidator.swift b/Sources/StateKit/StateValidator/StateValidator.swift index 26e48e7..7c73c42 100644 --- a/Sources/StateKit/StateValidator/StateValidator.swift +++ b/Sources/StateKit/StateValidator/StateValidator.swift @@ -25,10 +25,10 @@ public final class StateValidator<_State: State> { performValidation() } - func performValidation() { + public func performValidation() { currentState = getCurrentState() } - + private func observeValidators() { validators.forEach { validator in validator.shouldPerformValidation