author BounceCode, Inc.
 *  packageDocumentation import { Resolver , Mutation , Query , Arg } from 'type-graphql' ; import { TestObject } from '../objects/Test.object' ; author BounceCode, Inc.
  @ Resolver ( ) export class TestResolver { author BounceCode, Inc.
      @ Query ( ( ) => TestObject ) @ Mutation ( ( ) => TestObject ) async test ( @ Arg ( 'message' ) message ) { const testObject = new TestObject ( ) ; testObject . message = message ; return testObject ; } }