-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
Description
The RequiredId validator currently uses CommonJS syntax (require, module.exports).
To maintain consistency across the codebase and align with the ongoing ES6 migration, we need to refactor it to use ES6 module syntax.
File(s) to Update
validators/RequiredBody.jsvalidators/RequiredId.js
Tasks
- Replace
requirewithimport. - Replace
module.exportswithexport default.
Notes
This change is part of the ongoing ES6 Migration effort to modernize the backend codebase and ensure compatibility with modern Node.js and bundler environments. Integration testing will be conducted separately in fix/es6-migration branch
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels