FormLimits
class FormLimits(maxPathDepth: Int = ..., maxSegmentLength: Int = ..., maxValuesPerField: Int = ..., maxRowsPerGroup: Int = ..., maxErrors: Int = ...)Resource bounds applied while projecting untrusted payloads into semantic values.
These limits bound accepted structure and accumulated errors; the original data remains available for diagnostics.
Parameters
maxPathDepthThe maximum nesting depth of one submitted form path.
maxSegmentLengthThe maximum length, in characters, of one form-path segment.
maxValuesPerFieldThe maximum number of raw values retained for one declared field.
maxRowsPerGroupThe maximum number of repeated rows retained in one group.
maxErrorsThe maximum number of projection and validation errors retained for one event.
Defined by scalive.FormLimits. View source (scalive/api/src/scalive/forms/FormDefinition.scala:23-33)
Values5
maxErrors
val maxErrors: IntThe maximum number of projection and validation errors retained for one event.
Defined by scalive.FormLimits.maxErrors. View source (scalive/api/src/scalive/forms/FormDefinition.scala:28-28)
maxPathDepth
val maxPathDepth: IntThe maximum nesting depth of one submitted form path.
Defined by scalive.FormLimits.maxPathDepth. View source (scalive/api/src/scalive/forms/FormDefinition.scala:24-24)
maxRowsPerGroup
val maxRowsPerGroup: IntThe maximum number of repeated rows retained in one group.
Defined by scalive.FormLimits.maxRowsPerGroup. View source (scalive/api/src/scalive/forms/FormDefinition.scala:27-27)
maxSegmentLength
val maxSegmentLength: IntThe maximum length, in characters, of one form-path segment.
Defined by scalive.FormLimits.maxSegmentLength. View source (scalive/api/src/scalive/forms/FormDefinition.scala:25-25)
maxValuesPerField
val maxValuesPerField: IntThe maximum number of raw values retained for one declared field.
Defined by scalive.FormLimits.maxValuesPerField. View source (scalive/api/src/scalive/forms/FormDefinition.scala:26-26)