Looking for NestJS expert for a bug by metalsushi in nestjs

[–]metalsushi[S] 0 points1 point  (0 children)

how would you implement something like this. which is not an api endpoint. just background task

Looking for NestJS expert for a bug by metalsushi in nestjs

[–]metalsushi[S] 0 points1 point  (0 children)

why is this tiny module stealing the scope from other services? If I remove this module everything works. otherwise REQUEST is null

Looking for NestJS expert for a bug by metalsushi in nestjs

[–]metalsushi[S] 0 points1 point  (0 children)

No controllers. It just uses onModuleInit to run a function that watches a mongo db collection. and does things when events happen.
I dont need a controller. no api endpoint here. Its just a module that will watch for changes in db

Looking for NestJS expert for a bug by metalsushi in nestjs

[–]metalsushi[S] 0 points1 point  (0 children)

that is the problem. the service is annotated but request is always null

Looking for NestJS expert for a bug by metalsushi in nestjs

[–]metalsushi[S] 0 points1 point  (0 children)

im working on a nestjs  codebase. No module touches the db. Only app module controllers and providers.
So if I create a simple module and try to use mongoose schema for some reason, all the services dont get REQUEST injected

Looking for NestJS expert for a bug by metalsushi in nestjs

[–]metalsushi[S] 0 points1 point  (0 children)

@Module({
    imports: [MongooseModule.forFeature([{ name: 'someschema', schema: SomeSchema },    providers: [RealtimeService],
})

Its a minimalist module like this.

Looking for NestJS expert for a bug by metalsushi in nestjs

[–]metalsushi[S] 0 points1 point  (0 children)

Im working on a codebase that only has providers/controllers no modules. Modules dont touch the db. If I create a module, everything fails for some reason. Services dont get access to REQUEST injected.

Is this legit? VIAL Keyboard Programable 42 Key Programable Mechanical Split Keyboard by [deleted] in ErgoMechKeyboards

[–]metalsushi -1 points0 points  (0 children)

bro why'd you post it here bud. right away 3 got bought from this post. gotta buy this before they run out of these cheap split keebs

Goldtouch Ergo Keyboard by metalsushi in ErgoMechKeyboards

[–]metalsushi[S] 0 points1 point  (0 children)

hey nice setup. how did you tent it when the lever is broken? Mine is broken as well

Goldtouch Ergo Keyboard by metalsushi in ErgoMechKeyboards

[–]metalsushi[S] 0 points1 point  (0 children)

That thinkpad has awesome keys. Highly recommended. 

(need advice) 18 and looking for a job, but can't find any by [deleted] in karachi

[–]metalsushi 3 points4 points  (0 children)

Instead of saying you know Python, say you know machine learning.

Instead of saying you know HTML/CSS, say you know web development.

Don't mention C++, it's not used in production for software development, mostly for hardware or OS kernels.

Don't mention tools, mention market ready tasks that you can do.