crud typeorm relationship
// backend/src/inputs/update_user_input.ts
import { InputType, Field } from "type-graphql";
@InputType()
export class UpdateUserInput {
  @Field({ nullable: true })
  firstname?: string;
  @Field({ nullable: true })
  lastname?: string;
  @Field({ nullable: true })
  nickname?: string;
  @Field({ nullable: true })
  email?: string;
  @Field({ nullable: true })
  password?: string;
}
