Spell slots and limits per day should be limits per combat because you can long rest after each fight.
And there is no way to prevent this without potentialy ruining the game for others ...
Danger zones? You just walk back and rest ...
Random encounters? You just walk back and rest ...
Timed events? You just frustrated people who will be unable to make all planned fights within single day, since all those quests are fail for them.
Respawn? You just created infinite loop for the same people.
It sucks ...
But i can see why Larian rather live with that their mechanics are "gamy" whatever that mean ... that with that they make the game unplayable for part of their playerbase. :-/