Hi guys, at first I want to say Great Work! You have big improvements after graphql-decorator and I've some ideas how to make this library more flexible:
Main idea is to have as few decorators as possible:
before:
@NonNull()
@Pagination()
@Field({type: UserType})
after:
@Field({type: UserType, notNull: true, pagination: true})
before:
@ObjectType()
@Description('An user')
after:
@ObjectType({description: 'An user'})
What do you think?
Hi guys, at first I want to say Great Work! You have big improvements after graphql-decorator and I've some ideas how to make this library more flexible:
Main idea is to have as few decorators as possible:
What do you think?