Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(@nestjs/graphql): make it faster to construct a typescript file from GraphQL schema #2081

Merged
merged 3 commits into from Jul 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Expand Up @@ -7,6 +7,7 @@

/* tslint:disable */
/* eslint-disable */

export interface Foo {
a: string[];
b?: Nullable<string[]>;
Expand Down
Expand Up @@ -9,6 +9,5 @@
/* eslint-disable */

/* Put anything here you like */

export type CustomDate = any;
type Nullable<T> = T | null;
Expand Up @@ -7,6 +7,7 @@

/* tslint:disable */
/* eslint-disable */

export enum Foobar {
Foo = "Foo",
Bar = "Bar",
Expand Down
Expand Up @@ -7,6 +7,7 @@

/* tslint:disable */
/* eslint-disable */

export enum Animal {
DOG = "DOG",
CAT = "CAT"
Expand Down
Expand Up @@ -7,6 +7,7 @@

/* tslint:disable */
/* eslint-disable */

export enum Category {
POST = "POST"
}
Expand Down
Expand Up @@ -7,6 +7,7 @@

/* tslint:disable */
/* eslint-disable */

export interface Bar {
id: number;
}
Expand Down
Expand Up @@ -7,6 +7,7 @@

/* tslint:disable */
/* eslint-disable */

export interface Cat {
id: number;
}
Expand Down
Expand Up @@ -7,6 +7,7 @@

/* tslint:disable */
/* eslint-disable */

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR slightly changes output file about blank lines

export interface Cat {
id: number;
}
Expand Down
Expand Up @@ -7,6 +7,7 @@

/* tslint:disable */
/* eslint-disable */

export interface Cat {
id: number;
}
Expand Down
Expand Up @@ -7,6 +7,7 @@

/* tslint:disable */
/* eslint-disable */

export interface Cat {
id: number;
name: string;
Expand Down
Expand Up @@ -7,6 +7,7 @@

/* tslint:disable */
/* eslint-disable */

export interface Cat {
__typename?: 'Cat';
id: number;
Expand Down