Name returns the name of the nesting limit validator.
()
| 440 | |
| 441 | // Name returns the name of the nesting limit validator. |
| 442 | func (v nestingLimitValidator) Name() string { |
| 443 | return nestingLimitValidatorName |
| 444 | } |
| 445 | |
| 446 | // ToConfig converts the ASTValidator to an env.Validator specifying the validator name and the nesting limit |
| 447 | // as an integer value: {"limit": int} |