I have a p-trap that has an outlet that ends too close to the wall for it to be able to be connected straight into the trap adapter of the vent inside the wall.
I'd like to avoid the non-code conforming flexible drains if at all possible. Although it does seem like even new construction houses are being approved by building inspectors using those pipes from what I hear.
There are only 2 ideas I have:
Immediately at the wall trap adapter, bend the trap arm 90° (note: a 45° will run right into the drain stem), extend out a bit, and then another 90° to face the p-trap exit.
Immediately at the drain tailpiece, bend the drain tail piece to get further away from the wall via 2 45° fittings and then have a 'normal' straight trap arm.
The 2nd option to me seems 'cleaner' and avoids 2 immediate 90° turns like what would be required to bend the trap arm. The 2nd option also emulates the flexible pipe fitting but without the plumber purist stigma of how the crinkled edges of those pipes collects grime and clogs faster than smooth pipes.