To be fair, Jon’s death is straight out of the last book. We don’t know how soon he’ll be brought back to life but it’ll have to be quick.
There are theories that Jon won’t be brought back until very late in Winds.
Also, most believe he will be drastically changed as a character.
Where GoT dropped the ball is Jon barely changed as a result of his death. Beric said death and resurrection has a cost and you come back a little less, a little darker, and that is a theme GRRM has explored in the books. If you die and come back, there will be a cost to it.
In the show, he was tired of fighting for half an episode and then was back to being his regular mopey but idealistic self. No change, no inner darkness, no growth or regression, or narrative cost that justified the plot.
In fact the only tangible thing it did was allow him to leave the NW. but even that felt limp because no one even bothered to ask why he left the NW. His death was just completely glossed over, only being addressed in cute one liners.
His assassination also made much more sense and was thematically more interesting in the books. In the books he was killed because he was actively breaking his vows by trying to rescue fake Arya. It created an interesting morally grey wrinkle. But in the show, post season 4, D&D decided complexity for Jon was dead and instead made him a one note dummy.
So his assassination was framed as the selfless hero being snaked by the evil sinister backstabers.
D&D never really understood their characters or the themes they were adapting.