seneca-utils
Seneca Service Loader to help you easily buiild seneca service
Change logs
v1.1.9
- Add jsonic config to help easier to trace log the services
v1.1.8
- Add the Dto / Viewmodel apply for the result in order to filter your result
const FakeCommand2 = class static { return 'cmd:myCommand2'; } static { return 'myCommand2'; } static { return 'MyDto'; } static { return ''; } static { return 'YourViewModel'; } static { return 'YourViewModel'; } { return null; };
v1.1.7
- Fix bug SenecaLoaderService throw exception because load fire-and-forget 2 times
v1.1.5
- Fix bug: get clientAsync got no response because the seneca queue still full
v1.1.1
- Fix bug: when you dont listen but you spaw a client, your client never get promisify
v1.1.0
- Fix bug: register seneca command without the server listen pin config.
v1.0.6
- Add new way to declare the command
const FakeCommand2 = class static { return 'cmd:myCommand2'; } static { return 'myCommand2'; } static { return 'MyDto'; } static { return ''; } { return null; }; moduleexports = FakeCommand2;
v1.0.5
- Update dtobase to 1.0.1
v1.0.4
- Add Dto support. Now when exporting your command, add dto type and subtype. Both are optional
{ thisSampleLogic = kv; thislogger = kv; } { return 'MyDto'; } { return ''; } { return thisSampleLogic; } moduleexports = pin: 'cmd:myCommand' Func: MyCommand name: 'myCommand';
- Throw exception when can not detect the Dto registered