On an actively developed project, the master has a model called FollowingModel.
I branched off from the master and worked on my branch for a few days - creating methods which used the FollowingModel. By the time I made a PR,another branch was merged into master which changed the FollowingModel to Following. I could merge into the master without a merge conflict, but the application would break if I did so - since my methods would be calling a model which has it's name changed.
What is the correct way to proceed in situations like this? In a big project, where there are a lot of moving parts, how is this taken care of?