If you're told people don't want your style of writing anymore take heart in the story of Barbara Pym. Between 1950 and 1961 she published 4 successful novels then was told her writing was oldfashioned and wouldn't sell.
Quiet books where not much happens yet everything happens; like Jane Austen and Stanley Middleton, she was championed by Philip Larkin in 1977 after sharing a correspondence for 16 years.
She came back into 'fashion' , won the Booker Prize and was re-published.
So publishers aren't always right about writing.