The most likely reason that you said “just make it” an advantage is information asymmetry: either of you or both of you know something that the other side does not have. The manager may not tell you that in a large problem diagram this particular problem is rather unimportant or they are just looking for a quick fix, because there is still a lot of pressure from someone to quickly do this or simply did not plan to stick to long enough to take responsibility for effects.
Similarly, they will not be able to fully assess the risks associated with an unfavorable choice, perhaps deliberately making the “wrong” choice, since it helps them achieve their personal goals, etc. Information asymmetry http://en.wikipedia.org/wiki/Information_asymmetry is a well-known concept in the field of economics, and you can read this topic.
The most probable reason, however, is the impending deadline, the lack of planning and, consequently, the complete lack of time for any maneuvers.
There are many solutions . There are two that worked for me best:
a) improved communication; communicate more often and more effectively. This means that you are listening more, trying to understand whether the problem is a lack of understanding of the risks associated with low quality, insufficient assessment of the quality of software and the adverse effects of quick access to future maintainability (it strikes me that these are often the same people who buy only the most expensive cars of the highest quality and insist on making shortcuts in the creation of software, emphasizing the difference in how personal and non-personal varieties are processed nt).
Or the problem may be that, in fact, fully appreciating the value of the quality of software and understanding the impact of future support for the system (in my personal experience this is less common), they make an informed decision to take a cheaper route.
In fact, communication here means not so much an attempt to actively sell what is on your mind, but to try to absorb as much information as possible from the environment and the manager. Then it will be much easier for you to figure out the next step.
b) Alliances and partnerships. It is impossible to overestimate the value of alliances. Even when your project manager or sponsor does not provide adequate quality support (which is part of their work), the right alliance can significantly improve the situation. Find those who care and unite. This can be a project sponsor who cares when a project manager does not do this, or he can be a project manager when team mates do not. This can be a quality manager, director, developer or business analyst or tester. Bad guys will refuse or leave you alone to do everything right, and then be sure to jump on a boat to collect loans. Look at the politicians when they try to achieve something in the first place, form a coalition. Unfortunately, when you said “just continue with this,” you are already involved in politics, whether you like this smell or not.
Find a person who has a significant share in the success or failure of projects in terms of quality and will make them an ally.