Thibaut SEVERAC

Results 80 comments of Thibaut SEVERAC

> I don't know. I have only one account for API usage, so I use the same token for both scripts. you can get multiples tokens for the same account...

@sanchezzzhak In fact, I'm not sure to understand why ? I tried to write it like a mobile app, but so I loose the engine informations (information which is maybe...

@icebob more than "conflict" . This bug will be handled in the Pr #370 . In fact, the problem come from reusing the same connection ... correcting the database per...

@0x0a0d can you describe "model" ? because actually, model is not directly used, but extracted ... So, not connected to the global connection . https://github.com/moleculerjs/moleculer-db/blob/47f03579f03c850573c3d02ae8f495f3feaeffa1/packages/moleculer-db-adapter-mongoose/src/index.js#L91 ( + main concept of...

@0x0a0d yes, and if dev do this, they don't respect the base concept of moleculer-db : "Database per service" pattern : https://moleculer.services/docs/0.14/moleculer-db . ![image](https://github.com/moleculerjs/moleculer-db/assets/5489218/e4b009a1-0d95-4edd-8295-b7e0a66f8b8e)

yes . But in my opinion (and just my opinion here), a service need to manage his own connection, to be totally autonomous . If another service crash the connection...

yes, @icebob will decide . About passing schema or model . I see model only like "sugar" . because schema need two parameters ( schema + schemaName )

> So it would be good to follow the same logic in Mongoose as well, but using Model instance with a global connection can cause issues. Actually, the connection from...

@icebob what versions of mongoose do you want to support on this lib ? I didn't find the information . If not decided, I propose to follow the same as...

tu as modifié la ligne 55 de common.php ? car c'est la partie qui gère le fuseau horaire, de base, il est réglé sur : Europe/Paris ``` PHP date_default_timezone_set('Europe/Paris'); ```...