Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

nestjs graphql schema description

@ObjectType( {description : 'My class') )
Class Person {
    @Field ( () => ID, { description : ' ID of the user' } ) 
    Id: number
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #nestjs #graphql #schema #description
ADD COMMENT
Topic
Name
6+4 =