IMPORTANT: We are moving to Discord (link: https://discord.gg/TSEcDRP)! Support @Gitter is no longer guaranteed
dependencies
array:tada: Moleculer v0.14 RC1 has just been released!
This version will be released as stable at the next weekend if we don't receive any issues about this version during next week.
So if you are using 0.14 beta in your project, please upgrade to this new RC1 version & try it.
Changelog:: https://github.com/moleculerjs/moleculer/releases/tag/v0.14.0-rc1
If you want to check it within a new project, use the updated template with: moleculer init project#next my-project
It contains a new & shiny rewritten welcome page. Start the generated project with npm run dev
& open the http://localhost:3000 in your browser.
Hi all,
I would like to know what configurations are required to make may services run each on separate nodes.
My app is a RESTful webservice with gateway.service.js as well as 6 other services which each serve an API endpoint.
How can I canfigure moleculer such that each of my services runs on a different node.
M other question is how to condigure my Dockerfile such that each of my services run on a separate container.
Is this possible?,
is this a good idea?
actions : {
getOne: {
params: {
$$strict: true,
id: { type: "string", optional: true },
name: { type: "string", optional: true },
},
handler: this.getOne
}
}
Hi, i need to populate field
i used like this
settings: {
populates:{
"categories": "categories.get"
}
}
this.adapter.find({
query : {
status: 2,
_id: project_id
},
populate : ['categories']
});
but it doesne't work
i need data like this
[
{
"status": 2,
"name": "Test Name"
"categories": [
{
"_id": 1,
"name": "Collectibles"
},
{
"_id": 34,
"name": "watch"
}
]
}
]
instead it returns like this
[
{
"status": 2,
"name": "Test Name"
"categories": [1,34]
}
]
Hi guys,
I am trying to authenticate some routes and not others.
anyone has an idea?
/api/users
/api/posts
chat
, notifications
and users
. Any idea? Thanks!