Files
create-node-ts-graphql-server/src/GraphQL/schema/test.schema.ts
T
aleleba a5d7b2bebc PR-736133: Update dependencies and bump version to 1.6.6
Run check-updates and keep majors that are incompatible with
type-graphql 2.0.0-rc.3 or the current tooling (typescript 6, graphql 16,
graphql-scalars 1, Babel 7). Declare previously transitive imports
(terser-webpack-plugin, globals, typescript-eslint, @eslint/js) as
devDependencies so build and lint work again. Fix lint errors and update
the versions listed in the README.
2026-12-02 06:45:46 +00:00

17 lines
239 B
TypeScript

'use strict';
import { Field, ObjectType } from 'type-graphql';
@ObjectType()
export class Test {
@Field(() => String)
text?: string;
}
@ObjectType()
export class TestMutation {
@Field(() => String)
text?: string;
}