Skip to main content
Stack Overflow
  1. About
  2. For Teams
Filter by
Sorted by
Tagged with
2 votes
0 answers
77 views

I'm using @asteasolutions/zod-to-openapi to generate OpenAPI documentation from Zod schemas. I have a recursive utility function makeSchemaDeepNullable that transforms all fields in a schema to ...
0 votes
0 answers
50 views

I'm building a microservice with Moleculer.js and TypeScript, using Zod v4 for schema validation. I need to validate API responses that return null for optional fields, while keeping strict validation ...
1 vote
0 answers
36 views

I’m running a NATS cluster in Kubernetes using a StatefulSet. My use case: I have microservices built with Moleculer that sometimes return large responses. By default, NATS limits messages to 1MB, but ...
0 votes
1 answer
63 views

when i try ti implement code like that it works: gateway.service.ts { path: "/api", whitelist: [ "**"], use: [], ...
0 votes
1 answer
113 views

I have a service file, and I'm sending a file to the http://localhost:4000/uploads URL using the "file" field via POST in Postman. However, in my code, context.meta.$multipart is coming out ...
0 votes
1 answer
113 views

I have a backend written in molecular.js and I have multiple services. Now, I want to measure the action response times so I can know and optimize actions before going live. Any suggestions/comment ...
0 votes
0 answers
92 views

We have a 5 years old nodejs source code which must be upgraded to the latest nodejs technology, packages, typescript compiler. We found a piece of code which uses the moleculer nodejs package, and a ...
1 vote
0 answers
78 views

I need to develop an API which when gets a GET response with an ID it should download a file where it is stored in MongoDB as a Binary buffer. If I try to print the binary buffer to console.log it ...
0 votes
1 answer
604 views

I am new to the Moleculer framework and need to upload a file from an API request body to MongoDB using an action handler. I have been able to upload files using Multer with Express, but I need to use ...
0 votes
2 answers
130 views

I have healthcheck actions within my services that are called to determine whether the service is up. Due to the frequent calls from automated systems, there are a lot of noise in the debug logs. Is ...
ko5win's user avatar
  • 17
0 votes
1 answer
106 views

I created a socketio demo as below: services/socketiodemo.service.js "use strict"; const ApiGateway = require("moleculer-web"); // require Socket.IO and Moleculer's Socket.IO ...
0 votes
1 answer
196 views

I have created a moleculer project as below: https://codesandbox.io/s/8d5xy3 now I changed default database to mongodb/mongoose: but when I run products.service.js's action: createProduct, I get 500 ...
lme's user avatar
  • 79
2 votes
1 answer
296 views

I follow this moleculer tutorial: When I execute the 7th step: 7. We create docker-compose.yml and define our services in it: and run it up. I get issue, I cannot start up the other three containers:...
1 vote
1 answer
107 views

I am creating a service to query Tasks collection from the MongoDB. It have a custom id field called uId, and a task store other uId of other taks in its field named subtask. I want to populate the ...
0 votes
1 answer
93 views

I am new to molecular Js, can someone please help me in understanding ,how to pass the context of current request in action handlers? to be more specific, In authenticate method of API gateway I am ...

15 30 50 per page
1
2 3 4 5 6

AltStyle によって変換されたページ (->オリジナル) /