You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add error collection pattern to PendingUpdate
Implement error vector collection pattern in PendingUpdateTyped
to allow builder methods to accumulate validation errors instead
of failing fast. This enables users to see all validation issues
at once rather than fixing them one by one.
Changes:
- Add protected error collection methods (AddError, CheckErrors,
HasErrors, ClearErrors) to PendingUpdateTyped base class
- Add std::vector<Error> errors_ member to collect validation errors
- Update PendingUpdate documentation with usage examples
- Add 6 comprehensive unit tests demonstrating error collection
Pattern follows TableMetadataBuilder implementation.
All tests pass (11/11).
0 commit comments