Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
631 additions
and 318 deletions.
- +1 −1 .eslintignore
- +4 −0 .gitignore
- +5 −3 examples/8-performance/generated/classes.ts
- +2 −34 examples/8-performance/generated/ormconfig.ts
- +1 −1 examples/8-performance/src/index.ts
- +2 −2 examples/8-performance/src/modules/post/post.model.ts
- +3 −3 examples/8-performance/src/modules/post/post.resolver.ts
- +1 −2 examples/8-performance/src/modules/post/post.service.ts
- +2 −2 examples/8-performance/src/modules/user/user.model.ts
- +3 −3 examples/8-performance/src/modules/user/user.resolver.ts
- +1 −1 examples/8-performance/src/modules/user/user.service.ts
- +2 −222 examples/8-performance/yarn.lock
- +2 −2 package.json
- +1 −1 src/cli/cli.ts
- +18 −5 src/core/config.ts
- +28 −0 src/core/http.ts
- +5 −3 src/core/logger.ts
- +26 −0 src/core/server.test.ts
- +23 −11 src/core/server.ts
- +0 −4 src/decorators/Model.ts
- +6 −6 src/gql/binding.ts
- +1 −1 src/schema/SchemaGenerator.ts
- +2 −2 src/torm/createConnection.ts
- +189 −0 test/generated/binding.ts
- +94 −0 test/generated/classes.ts
- +1 −0 test/generated/index.ts
- +3 −0 test/generated/ormconfig.ts
- +137 −0 test/generated/schema.graphql
- +7 −0 test/modules/user/user.model.ts
- +22 −0 test/modules/user/user.resolver.ts
- +27 −0 test/test-server.ts
- +2 −2 tsconfig.json
- +6 −3 tsconfig.test.json
- +4 −4 yarn.lock
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,5 +1,5 @@ | ||
/**/node_modules/**/* | ||
/examples/**/coverage/**/* | ||
/examples/**/node_modules/**/* | ||
/**/generated/**/* | ||
!.eslintrc.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -20,3 +20,7 @@ dist | ||
|
||
# Generated files | ||
tmp | ||
|
||
warthog.sqlite.tmp | ||
|
||
examples/**/generated/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,35 +1,3 @@ | ||
import { getBaseConfig } from '../../../src'; | ||
|
||
module.exports = getBaseConfig(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -2,7 +2,7 @@ import 'reflect-metadata'; | ||
|
||
import { logger } from '../../../src'; | ||
|
||
import { loadConfig } from './config'; | ||
import { getServer } from './server'; | ||
|
||
async function bootstrap() { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,6 +1,6 @@ | ||
import { BaseModel, ManyToOne, Model, StringField } from '../../../../../src'; | ||
|
||
import { User } from '../user/user.model'; | ||
|
||
@Model() | ||
export class Post extends BaseModel { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@@ -1,6 +1,6 @@ | ||
import { BaseModel, Model, OneToMany, StringField } from '../../../../../src'; | ||
|
||
import { Post } from '../post/post.model'; | ||
|
||
@Model() | ||
export class User extends BaseModel { | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.