Found a workaround for the issue with class-transformer
You can use this:
@IsBoolean()
@Transform(({ value} ) => value === 'true')
public laserMode: boolean;
This will transform the string into a boolean value, based on if it is ‘true’ or any other string. A simple workaround, but every string different than true, results in false.