nestjs-api-tutorial
nestjs-api-tutorial copied to clipboard
NestJs REST API tutorial for FreeCodeCamp
I am creating this issue just in case if someone is following the nodejs tutorial on freecodecamp and facing issue while implementing the JWT strategy. https://github.com/mikenicholson/passport-jwt/issues/153 ```typescript export class JwtStrategy...
I have been trying to reproduce the validation part using dtos and global pipes but for some reason the whitelist option is not working. I know there have been ground...
Hello vlad, you are really amazing and I love you content very much, the way you tech, its really wonderful way of teaching, love your videos, and I have a...
This line is decrepated: ` import { PrismaClientKnownRequestError } from '@prisma/client/runtime'; ` It work with: ` import { PrismaClientKnownRequestError } from '@prisma/client/runtime/library'; `
Encounter with this problem at all files.
When i try to run the test for getBookmarks i get an error : **Unknown arg `userId` in where.userId for type BookmarkWhereInput. Did you mean `id`? Available args: type BookmarkWhereInput...
### Issue Description The strategy `validate` method is using only `id` in the where clause but when doing the call for `/users/me` it getting the error: ```` [Nest] 41843 -...
the import from the tutorial ```js import { PrismaClientKnownRequestError } from '@prisma/client/runtime'; ``` Is not working as expected, instead when I import like below as per the documentation it works...
Bumps [@nestjs/core](https://github.com/nestjs/nest) from 8.2.6 to 9.0.5. Release notes Sourced from @nestjs/core's releases. v9.0.5 (2022-07-20) Bug fixes common, platform-express #9819 fix: use pipeline over stream.pipe (@jmcdo29) Enhancements microservices #9798 feat(microservices): add...
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar) from 2.1.3 to 2.1.4. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...