Well, for sure that make better sense.
If you don’t use the provided repo, the side-effect you could get would be that an inner query failing would not trigger the proper rollback on the previous queries, since the other inner queries would have done their jobs successfully, but inside their own different transactions. That would be problematic for your data integrity (assuming your making a query that changes something).
Can you try by both having a different name on each operations and using the provided repo instead of the one you import ? I’m using a lot of Ecto.Multi in my apps, and following that pattern never failed me, so i’m curious if that’s really the issue, or if something else is happening.






















