Initial commit
This commit is contained in:
16
src/GraphQL/schema/test.schema.ts
Normal file
16
src/GraphQL/schema/test.schema.ts
Normal file
@ -0,0 +1,16 @@
|
||||
/* eslint-disable no-mixed-spaces-and-tabs */
|
||||
'use strict';
|
||||
|
||||
import { Field, ObjectType } from 'type-graphql';
|
||||
|
||||
@ObjectType()
|
||||
export class Test {
|
||||
@Field(() => String)
|
||||
text?: string;
|
||||
}
|
||||
|
||||
@ObjectType()
|
||||
export class TestMutation {
|
||||
@Field(() => String)
|
||||
text?: string;
|
||||
}
|
Reference in New Issue
Block a user