I've been developing software for 40 years, yet there are still times when people who've only been developing software for 5 years or less have better ideas. One secret to surviving in this field for 40 years is leaving your ego at the door and being willing to learn from anyone, including those who are "under" you.
Having said that, from a practical standpoint, there needs to be a person empowered to make the final decision. That person is usually a lead developer, manager, and so forth. If you are that person, then your job is to facilitate the technical discussion and get as many ideas as you can. Remember that every single idea comes with a set of pros and cons - there's no perfect solution. You'll do your team a great favor if you do the analysis and decision-making out in the open.