Tiling behind bathroom vanity cabinet

Should wall tile be installed behind a bathroom vanity cabinet (total remodel of bathroom) or should the cabinet go flush to the sheetrock? The contractor wants the tiler to edge the tile to the cabinet, not go behind it. Our concern is that the wall is most likely not straight and there will be a gap.