nestjs-query icon indicating copy to clipboard operation
nestjs-query copied to clipboard

feat(query-graphql): added support for multiple hooks for same hook type

Open iamkhalidbashir opened this issue 3 years ago • 2 comments

Can be used as

 @BeforeCreateOne([
    getStringValidationHook<ITodo>(`name`, { min: 3, max: 10 }),
    getSetUserIdPropertyHook<ITodo>(`todoCreatedBy`),
  ])
  class Todo extends Base implements ITodo {
   ...
   ...

iamkhalidbashir avatar Sep 29 '22 14:09 iamkhalidbashir

This is awesome! Would you be willing to add this to my fork? Development of this project continued there, see here for more info.

TriPSs avatar Oct 17 '22 08:10 TriPSs

This is awesome! Would you be willing to add this to my fork? Development of this project continued there, see here for more info.

Sure. Will do.

iamkhalidbashir avatar Oct 17 '22 09:10 iamkhalidbashir