refactor source code

This commit is contained in:
2024-10-29 17:42:54 +07:00
parent 3b23d9e0b7
commit 152bb50da8
83 changed files with 8473 additions and 7577 deletions

View File

@@ -1,15 +1,15 @@
import { Inject, Injectable } from '@nestjs/common';
import { Builder } from '../../Graphql/graphql.builder';
import { Inject, Injectable } from '@nestjs/common'
import { Builder } from '../../Graphql/graphql.builder'
import {
PothosRef,
PothosSchema,
SchemaBuilderToken,
} from '@smatch-corp/nestjs-pothos';
} from '@smatch-corp/nestjs-pothos'
@Injectable()
export class CommonGraphqlError extends PothosSchema {
constructor(@Inject(SchemaBuilderToken) private readonly builder: Builder) {
super();
super()
}
@PothosRef()
@@ -19,6 +19,6 @@ export class CommonGraphqlError extends PothosSchema {
fields: (t) => ({
message: t.exposeString('message'),
}),
});
})
}
}