Prepare_query wont pass updated options to preloaded sub sequent calls from main query

That project hasn’t seem much change lately, and there are 2-year-old somewhat-contradictory issues that seem related:

https://github.com/revelrylabs/ecto_soft_delete/issues/98

https://github.com/revelrylabs/ecto_soft_delete/issues/100

What you’re looking for sounds like it would be better achieved by explicitly filtering on deleted_at in the main query and preloading normally otherwise; approaches like prepare_query are hard to opt-out of.