type-graphql APIs
- Field
- ObjectType
- Query
- Resolver
- Arg
- Mutation
- buildSchema
- InputType
- Root
- ID
- Int
- registerEnumType
- Ctx
- FieldResolver
- ArgsType
- Args
- Authorized
- Float
- buildSchemaSync
- AuthChecker
- UseMiddleware
- NonEmptyArray
- Directive
- ResolverData
- ClassType
- ContainerType
- createResolversMap
- BuildSchemaOptions
- MiddlewareFn
- Subscription
- createParamDecorator
- createUnionType
- buildTypeDefsAndResolvers
- Info
- createMethodDecorator
- InterfaceType
- PubSubEngine
- PubSub
- getMetadataStorage
- NextFn
- MiddlewareInterface
Other Related APIs
- typeorm#Column
- typeorm#Entity
- typeorm#PrimaryGeneratedColumn
- typeorm#JoinColumn
- typeorm#ManyToOne
- typeorm#OneToMany
- typeorm#ManyToMany
- typeorm#BaseEntity
- typeorm#Index
- type-graphql#Int
- type-graphql#ObjectType
- type-graphql#Authorized
- type-graphql#Query
- type-graphql#Resolver
- type-graphql#Arg
- type-graphql#ArgsType
- type-graphql#Mutation
- type-graphql#InputType
- type-graphql#ID
- type-graphql#FieldResolver
- type-graphql#Root
type-graphql#Field TypeScript Examples
The following examples show how to use
type-graphql#Field.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: newsletter-form.entity.ts From Cromwell with MIT License | 5 votes |
@Field(() => Int)
@PrimaryGeneratedColumn()
id: number;