AccumulateDsl
Accumulating fields.lens.FieldsDsl
Attributes
- Source
- FieldsDsl.scala
- Graph
-
- Supertypes
-
trait CommonSyntaxtrait FieldSyntaxtrait PolicyKSyntaxtrait FailFieldSyntaxtrait RuleSyntaxtrait ValidatedSyntaxtrait PolicySubSyntaxclass Objecttrait Matchableclass AnyShow all
Members list
Type members
Inherited classlikes
Attributes
- Inherited from:
- FieldsDsl
- Source
- FieldsDsl.scala
- Supertypes
-
class Objecttrait Matchableclass Any
Inherited types
Attributes
- Inherited from:
- CommonSyntax
- Source
- all.scala
Attributes
- Inherited from:
- CommonSyntax
- Source
- all.scala
fields.PolicyK alias. Infers F, V, E
fields.RuleK alias. Infers F, V, E
Value members
Inherited methods
Just pathrought error
Returns EmptyError using fields.fail.FailWithEmpty typeclass
Returns EmptyError using fields.fail.FailWithEmpty typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns CompareError using fields.fail.FailWithCompare typeclass
Returns CompareError using fields.fail.FailWithCompare typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Useful when your error is wrapped in FieldError
Useful when your error is wrapped in FieldError
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns CompareError using fields.fail.FailWithCompare typeclass
Returns CompareError using fields.fail.FailWithCompare typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns CompareError using fields.fail.FailWithCompare typeclass
Returns CompareError using fields.fail.FailWithCompare typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns InvalidError using fields.fail.FailWithInvalid typeclass
Returns InvalidError using fields.fail.FailWithInvalid typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns CompareError using fields.fail.FailWithCompare typeclass
Returns CompareError using fields.fail.FailWithCompare typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns CompareError using fields.fail.FailWithCompare typeclass
Returns CompareError using fields.fail.FailWithCompare typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns MaxSizeError using fields.fail.FailWithMaxSize typeclass
Returns MaxSizeError using fields.fail.FailWithMaxSize typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns MessageError using fields.fail.FailWithMessage typeclass
Returns MessageError using fields.fail.FailWithMessage typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns MessageError using fields.fail.FailWithMessage typeclass
Returns MessageError using fields.fail.FailWithMessage typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns MinSizeError using fields.fail.FailWithMinSize typeclass
Returns MinSizeError using fields.fail.FailWithMinSize typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns NonEmptyError using fields.fail.FailWithNonEmpty typeclass
Returns NonEmptyError using fields.fail.FailWithNonEmpty typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns CompareError using fields.fail.FailWithCompare typeclass
Returns CompareError using fields.fail.FailWithCompare typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Returns OneOfError using fields.fail.FailWithOneOf typeclass
Returns OneOfError using fields.fail.FailWithOneOf typeclass
Attributes
- Inherited from:
- FailFieldSyntax
- Source
- FailFieldSyntax.scala
Attributes
- Inherited from:
- PolicySubSyntax
- Source
- PolicySubSyntax.scala
Inherited fields
Attributes
- Inherited from:
- CommonSyntax
- Source
- all.scala
Attributes
- Inherited from:
- CommonSyntax
- Source
- all.scala
Extensions
Inherited extensions
Returns subfield using selector function to extract value and as path
Returns subfield using selector function to extract value and as path
Example
scala> val request = Request(User("ann"))
scala> val field = Field.from(request)
val field: fields.Field[Request] = request:Request(User(ann))
scala> field.sub(_.user.name)
val res1: fields.Field[String] = request.user.name:ann
Attributes
- Inherited from:
- FieldSyntax
- Source
- FieldSyntax.scala
Adds new subrule to builder. Same as subRule but for 3 subrules
Adds new subrule to builder. Same as subRule but for 3 subrules
Attributes
- Inherited from:
- PolicySubSyntax
- Source
- PolicySubSyntax.scala
Adds new subrule to builder. Same as subRule but for 2 subrules
Adds new subrule to builder. Same as subRule but for 2 subrules
Attributes
- Inherited from:
- PolicySubSyntax
- Source
- PolicySubSyntax.scala
Adds new subrule to builder. Uses selector to create fields.Field, rules are applied to that field
Adds new subrule to builder. Uses selector to create fields.Field, rules are applied to that field
Attributes
- Inherited from:
- PolicySubSyntax
- Source
- PolicySubSyntax.scala
Implicits
Inherited implicits
Attributes
- Inherited from:
- FieldsDsl
- Source
- FieldsDsl.scala
Attributes
- Inherited from:
- FieldsDsl
- Source
- FieldsDsl.scala
Attributes
- Inherited from:
- FieldsDsl
- Source
- FieldsDsl.scala
Attributes
- Inherited from:
- BooleanDsl
- Source
- BooleanSyntax.scala
Attributes
- Inherited from:
- GenericDsl
- Source
- GenericSyntax.scala
Attributes
- Inherited from:
- IterableDsl
- Source
- IterableSyntax.scala
Attributes
- Inherited from:
- LensPolicyDsl
- Source
- LensPolicySyntax.scala
Attributes
- Inherited from:
- LensPolicyDsl
- Source
- LensPolicySyntax.scala
Attributes
- Inherited from:
- MapDsl
- Source
- MapSyntax.scala
Attributes
- Inherited from:
- OptionDsl
- Source
- OptionSyntax.scala
Attributes
- Inherited from:
- OrderingDsl
- Source
- OrderingSyntax.scala
Attributes
- Inherited from:
- PolicyKSyntax
- Source
- PolicyK.scala
Attributes
- Inherited from:
- RuleSyntax
- Source
- RuleSyntax.scala
Attributes
- Inherited from:
- RuleSyntax
- Source
- RuleSyntax.scala
Attributes
- Inherited from:
- StringDsl
- Source
- StringSyntax.scala
Attributes
- Inherited from:
- ValidatedSyntax
- Source
- ValidatedSyntax.scala
Attributes
- Inherited from:
- ValidatedSyntax
- Source
- ValidatedSyntax.scala
Attributes
- Inherited from:
- ValidatedSyntax
- Source
- ValidatedSyntax.scala