dbos-inc / dbos-transact

The TypeScript framework for backends that scale
https://docs.dbos.dev
MIT License
336 stars 22 forks source link

Fix class registration #546

Closed qianl15 closed 1 month ago

qianl15 commented 1 month ago

This PR fixes an issue where the debug mode runtime didn't properly register all classes.

Also simplify the class registration logic everywhere -- we don't need to pass classes into dbosExec.init() anymore, because this init() function already registers all classes if no class specified.