moleculerjs/moleculer

Enhance the moleculer ecosystem

ishfx opened this issue · 0 comments

ishfx commented

Goal

The purpose of this discussion is to address the potential obsolescence concern associated with Moleculer and explore ways to update the framework with modern JavaScript features. If needed, we can move this discussion to a more appropriate platform.

Is your feature request related to a problem? Please describe.

MoleculerJS is undoubtedly one of the most powerful microservices frameworks for Node.js, but one of the reasons it may not be gaining as much traction as it could is due to its reliance on old JavaScript syntax. This can be a turn-off for developers who prefer modern TypeScript features and syntax. Furthermore, the modern JavaScript ecosystem has evolved significantly in recent years, and in order to stay relevant and appeal to a wider audience, MoleculerJS needs to embrace this direction.

Describe the solution you'd like

I want to introduce a new library that I believe will greatly enhance the development experience with MoleculerJS. My library, called moleculer-plus, provides a set of TypeScript decorators that seamlessly integrate with MoleculerJS to allow developers to easily add modern TypeScript features and syntax to their microservices architecture without changing MoleculerJS's core code.

With moleculer-plus, developers can write cleaner and more concise code with the assurance that it will be validated using the fastest-validator library. The decorators also make it easy to declare services, actions, events, and APIs, with built-in support for validation rules.

I believe moleculer-plus will bring significant value to the moleculer ecosystem and help them streamline their development workflows. I would love the opportunity to collaborate and explore how we can integrate it into MoleculerJS.

Project link: https://github.com/ishfx/moleculer-plus

(fyi, this solution is being used in production)