Something that I don't really understand, my DB returned status_id and GraphQL expected for statusId so I used the name option in the entity field to transform the data. But, it still returned as status_id
Is this something that I did wrong?
@ObjectType()
export class FooEntity {
@Field(() => Int)
id: number;
@Field(() => Int, { name: 'statusId' })
status_id: number;
}