Enums§
- Validation
Error - All possible validation failures. Each variant carries enough context to produce a helpful error message for the client.
Functions§
- validate_
allowed_ properties - Check that every top-level key in the payload is in the
allowedlist. - validate_
collection_ name - Validate a collection name.
- validate_
field_ name - Validate a field name used in projections, WHERE clauses, or joins.
- validate_
json_ depth - Validate that a JSON value is not nested more than
max_depthlevels deep. - validate_
key_ count - Validate that a batch operation doesn’t contain more than
max_keyskeys. - validate_
key_ name - Validate a document key name.
- validate_
payload_ size - Validate that the serialized payload does not exceed
max_size_bytes. - validate_
request - Run all validation checks on an incoming request payload.