Skip to content

Commit

Permalink
feature(@nestjs/core) better type checking for fastify adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Mar 14, 2018
1 parent fc092ae commit e481a71
Show file tree
Hide file tree
Showing 43 changed files with 3,838 additions and 729 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ yarn-error.log
/integration
/coverage
/.nyc_output
build/config\.gypi
build/config\.gypi
2 changes: 1 addition & 1 deletion examples/01-cats-app/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { FastifyAdapter } from '@nestjs/core/adapters/fastify-adapter';
import * as fastify from 'fastify';

async function bootstrap() {
const app = await NestFactory.create(ApplicationModule, new FastifyAdapter(fastify()));
const app = await NestFactory.create(ApplicationModule);
app.useGlobalPipes(new ValidationPipe());
await app.listen(3000);
}
Expand Down
Loading

0 comments on commit e481a71

Please sign in to comment.