Skip to content
scalive
Menu
ConnectingLiveReconnectingOffline
GitHub
c

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

maxPathDepth

The maximum nesting depth of one submitted form path.

maxSegmentLength

The maximum length, in characters, of one form-path segment.

maxValuesPerField

The maximum number of raw values retained for one declared field.

maxRowsPerGroup

The maximum number of repeated rows retained in one group.

maxErrors

The 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: Int

The 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: Int

The 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: Int

The 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: Int

The 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: Int

The 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)