Closed
Description
It would be awesome to have a bit more control over how the CRUD resolvers are generated. For example there could be more options to the field decorator to include authorization like so:
model User {
id Int @default(autoincrement()) @id
/// @TypeGraphQL.field(name: "emailAddress")
email String @unique
/// @TypeGraphQL.field(authorized: ["User", "Admin"])
posts Post[]
}
Is this something you consider as a feature? I think this would greatly increase development speed.