The STM32F1xx "Getting Started" app note shows the BOOT0 and BOOT1 pins connected to ground/VCC via a \$10k\Omega\$ resistor, and so that's what I've always done and everything works fine.
However, now I'd need to switch the internal serial bootloader on/off depending on whether another board (a kind of debugger) is connected, i.e. if the board is connected, BOOT0 is high (boot into internal bootloader), otherwise low (boot from internal flash). In this case, as I will anyway have a debugger detect pin, I could simply pull BOOT0 pin low with a 10k resistor, and connect the (active high) debugger detect directly to the BOOT0 -pin (apologies for the insanely large schematic, I don't know how to adjust it's size):
Now the question: when the debugger is connected, BOOT0 is connected directly to VDD instead of through a resistor, unlike in all the app notes etc. Is there some danger here?