1 Commits

Author SHA1 Message Date
1ae6c3f05c Enhance database object handling with ObjectId normalization and error handling
Some checks failed
farmcontrol/farmcontrol-ws/pipeline/head There was a failure building this commit
- Introduced `refId`, `normalizeFilter`, and `coerceObjectIds` functions in `objectid.js` to standardize ObjectId handling across the database operations.
- Updated `listObjects`, `getObject`, `editObject`, and `newObject` functions to utilize the new normalization methods, improving data integrity and error management.
- Enhanced error handling in socket event handlers to ensure proper feedback on operation failures.
- Refactored `expandObjectIds` and related utility functions to streamline ObjectId processing and improve code clarity.
2026-11-07 18:52:45 +00:00