What type of surgery are they talking? There's the kind that just shaves the protruding bone off and then everyone is happy and can fit into shoes well again and then there's the kind where there is actual foot deformity where the bones in the foot have shifted and to reverse it, the docs need to cut a little wedge out of the bone then re-join it with pins.
I had regular bunion surgery years ago on one foot and never thought the second surgery was worth it. I'd start with these questions:
How old are you?
What type of shoe do you like to squeeze your foot into? If you were told you forevermore had to wear Birkenstocks or some similarly ugly but comfy shoe, would you do it? If the answer is yes, then skip the surgery and go directly to unfashionable footwear that doesn't hurt.
Honestly, the pain from fashionable shoes just never stopped. I finally realized it was stupid and now I just look for comfortable shoes that don't rub. I wish I had skipped the surgery and gone directly to boots, but I still wanted the high heels for a few more years.