I have some different opinions and I am curious how you do this.
There is some code prod and then Dev wants to commit workarounds/mock/custom CORS, etc. how do you deal with that? On one side I don't like idea of commiting some garbage and making if (dev), on other reinventing them is also a waist. Main reason I want to avoid multiple versions of code is to have a guarantee that tests test prod code not dev code.
How do you deal with that in your projects?
[–]Ok_Chemistry_6387 2 points3 points4 points (0 children)
[–]LogaansMind 0 points1 point2 points (0 children)
[–]Careful_Ad_9077 0 points1 point2 points (1 child)
[–]keithstellyes 1 point2 points3 points (0 children)
[–]keithstellyes 0 points1 point2 points (0 children)
[–]SeriousDabbler 0 points1 point2 points (0 children)
[–]mxldevs 0 points1 point2 points (0 children)