Answers for "type and field in type graphql"

0

type and field in type graphql

@ObjectType()
class Recipe {
  @Field()
  id: string;

  @Field()
  title: string;

  @Field()
  ratings: Rate[];

  @Field()
  averageRating: number;
}
Posted by: Guest on October-02-2020

Browse Popular Code Answers by Language