Description
Enforce strict upper bounds on every write and read path exposed by the View API before data reaches the database layer. Write operations (AddTokenRequest, AddTransaction, AddMovement) should reject any call whose serialised payload exceeds a configurable maximum size. Query operations (QueryTransactions, QueryMovements, QueryTokenRequests) should require a bounded Pagination argument -- the Pagination type is already present in the codebase, so enforcing its use rather than treating it as optional is a low-friction change. This prevents a single oversized write or unbounded table scan from monopolising database resources.
Short Summary
Description
Enforce strict upper bounds on every write and read path exposed by the View API before data reaches the database layer. Write operations (
AddTokenRequest,AddTransaction,AddMovement) should reject any call whose serialised payload exceeds a configurable maximum size. Query operations (QueryTransactions,QueryMovements,QueryTokenRequests) should require a boundedPaginationargument -- thePaginationtype is already present in the codebase, so enforcing its use rather than treating it as optional is a low-friction change. This prevents a single oversized write or unbounded table scan from monopolising database resources.Short Summary
AddTokenRequest,AddTransaction,AddMovementPaginationparameter mandatory (not optional) in query operations