iamolegga / create-nestjs-middleware-module Goto Github PK
View Code? Open in Web Editor NEWNestJS configured middleware module made simple
License: MIT License
NestJS configured middleware module made simple
License: MIT License
create-nestjs-middleware-module/package.json
Lines 29 to 30 in 2ab8f99
create-nestjs-middleware-module/package.json
Lines 49 to 51 in 2ab8f99
I've been using this lib with @nesjts/[email protected]
with no worries. I read the migration guide as well.
when using NEST_DEBUG=true
on NestJS 8.2.0
, the following line will crashes the app due to this bug: nestjs/nest#8560
this isn't the problem, tho.
What do you think of changing that symbol to Symbol('create-nestjs-middleware-module:options')
or something? I guess this will help people on debugging nestjs's resolutions
For now we'll get (after Nest 8.2.1
) an entry like
... Resolving dependency FooToken in the Symbol() provider
Is it possible to use Dependency Injection inside createModule?
No response
FacadeModule seems to be redundant.
I was not patient enough and migrated this module to nest8 a long time ago.
As a part of the migration, I got rid of FacadeModule and it seems to work fine without it.
Maybe you consider removing it too
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.