
.uniform.common-web_2.13.5.0.0-RC6.source-code.StepDetails.scala Maven / Gradle / Ivy
The newest version!
package ltbs.uniform
package common.web
import validation.Rule
case class StepDetails[HTML, A](
stepKey: List[String],
fieldKey: List[String],
tell: Option[HTML],
data: Input,
errors: ErrorTree,
validation: Rule[A]
) {
def /[B](key: String) = this.copy[HTML, B](
fieldKey = this.fieldKey :+ key,
tell = None,
data = this.data / key,
errors = this.errors / key,
validation = Rule.alwaysPass[B]
)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy