Friends Of AdonisFriends Of Adonis

Decorators

DecoratorTypeDescription
@Arg(name: string)ParameterArgument of the operation
@Args()ParameterArguments of the operation
@ArgsType()ClassDefines an Arguments Type
@Authorized()Method Property ClassSecure the resource
@Ctx()ParameterRetrieve the HttpContext
@Directive(directive: string)*Add a Schema Directive
@Extension(metadata)Method Property ClassProvides metadata
@Field()Method PropertyDefines a Field
@FieldResolver()MethodDefines a Field resolver
@Info()ParameterProvides Info
@InputType()ClassDefines an Input Type
@InterfaceType()ClassDefines an Interface Type
@Mutation()MethodDefines a Mutation
@ObjectType()ClassDefines an ObjectType
@Query()MethodDefines a Query
@Resolver()ClassDefines a Resolver
@Root()ParameterAccess the root document
@Subscription()MethodNot available
@UseMiddleware()Method, Property, ClassAdd a middleware to the resource

On this page

No Headings