thenativeweb / node-cqrs-domain

Node-cqrs-domain is a node.js module based on nodeEventStore that. It can be very useful as domain component if you work with (d)ddd, cqrs, eventdenormalizer, host, etc.
http://cqrs.js.org/pages/domain.html
MIT License
269 stars 57 forks source link

Use of node loader extensions for valid file types of parsing definition sources #113

Closed repkins closed 6 years ago

repkins commented 6 years ago

Hello, @adrai!

Here is a proposed solution regarding of initializing domain files in other than *.js file extensions. For resolving valid file types here being used node loader extensions by control of domain init param useLoaderExtensions which is a boolean. On option default value it uses default valid file types.

Issue #89

adrai commented 6 years ago

Can you extend the readme? and if possible also a little "integration" test?

repkins commented 6 years ago

Have no idea how to add integration test for this. But about extending readme I'm ok to do so.

repkins commented 6 years ago

Ready, readme is done.

adrai commented 6 years ago

v2.10.0