with code properly belongs in the application’s boundary layer, the context. Use with in boundary code; use the pipe operator, |>, in core code, and seek to move as much code as possible from the boundary to the core! Build a query in the core and execute it in the…