I always play as a caster and caster concept in this game is beyond broken. Who came up with the idea that caster should not be able to cast spells? Seriously?! After you cast spell you need to go to camp EVERY GOD DAMN TIME!!!! WHY!!!!!!!!!????????????
Hmmm, clearly in spite of having a decent amount of years in gaming you haven’t played many RPGs. Resource management tend to be a standard for spellcasters to make up for how powerful their spells are.
That said games adapting D&D do struggle with satisfying translation of resting - due to handcrafted nature of content, resting tends to be freely available and as such makes it rather redundant. Pillars of Eternity2 did make its spells per-encounter rather than per-rest, and while it fixed that issue, it also came with its own drawbacks - like being able to cast the same combination of spells in every encounter, rather than rationing them, turns out to be ultimately boring.
In BG3 caster indeed have few spells to cast, and mostly rely on cantrips for regular damage. You do get more resources to use as you go on, and even without spells you should have a decent supply of scrolls, potions and other items to play around with. You absolutely don’t need to rest after every encounter or not use casters for most encounteres (like it was the case in BG1&2). Leveled spells, however, as meant to be used deliberately to tip the battle in your favour, not used as generic source of damage. Cantrips are for that.