msavin / SteveJobs

A simple jobs queue that just works (for Meteor.js)
Other
207 stars 35 forks source link

Add parameter validation on Jobs.run for the configuration #113

Open vparpoil opened 1 month ago

vparpoil commented 1 month ago

It would be great if the configuration object passed to Jobs.run() was validated against a validation schema It would avoid typos or misuse of the package. I cannot do it right away, so I'm creating this issue to remind myself :) Here is where to update the code to add validation