It depends. Look at what approaches are used in your problem domain. Irregularity issue can be tackled to some extent with resampling, and transformers are more “lookup” than “forecast” models (i.e. with bigger internal memory), so their applicability scenarios are somewhat different.