MCPcopy Create free account
hub / github.com/cel-expr/cel-go / newValidatorConfig

Function newValidatorConfig

cel/validator.go:179–185  ·  view source on GitHub ↗

newValidatorConfig initializes the validator config with default values for core CEL validators.

()

Source from the content-addressed store, hash-verified

177
178// newValidatorConfig initializes the validator config with default values for core CEL validators.
179func newValidatorConfig() *validatorConfig {
180 return &validatorConfig{
181 data: map[string]any{
182 HomogeneousAggregateLiteralExemptFunctions: []string{},
183 },
184 }
185}
186
187// GetOrDefault returns the configured value for the name, if present, else the input default value.
188//

Callers 2

CheckMethod · 0.85
TestValidatorConfigFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestValidatorConfigFunction · 0.68