I can write this:
select_queries
|> combined_query_remove_order_by_from_selects()
|> CombinedQuery(
kind: kind,
select_queries: _,
limit_offset: NoLimitOffset,
order_by: [],
epilog: NoEpilogPart,
)
but not this:
sq.select
|> list.append(slct_prts)
|> SelectQuery(..sq, select: _)
... is there a reason for this?