You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid using Reflect.defineMetadata and Reflect.getMetadata all over the code base to improve readability. Use specific MetadataArgsStorage methods instead.
Just some info about the @UseContainer() decorator. Its role is to tell the graphql decorator to use the passed container for classes instatiation, just so the typedi injection works on classes decorated with ObjectType or InputObjectType.
So... It was implemented as a decorator, but it actually should be a function that would get called on app configuration. Just like useContiner from pleerock/routing-controller
Avoid using
Reflect.defineMetadata
andReflect.getMetadata
all over the code base to improve readability. Use specificMetadataArgsStorage
methods instead.Deprecate support decorators due to improvement from Decorators less verbose and subscriptions #14
@Pagination
@Description
@List
@NonNull
@UseContainer
- Remove decorator and add it as a function like useContainer from pleerock/routing-controllerDecorators
@UnionType
@EnumType
+@Value
@Field
+@Arg
+@OrderBy
+@Root
+@Before
+@Ctx
@ObjectType
@InputObjectType
@Query
@Mutation
@Subscription
@Schema
The text was updated successfully, but these errors were encountered: