Can you elaborate a bit more, as since type of v[i] is Union{Missing, Int} the ~ function should choose the right specialization according to normal Julia logic (perhaps while being slower and not type stable)?
In any case, the original .~ form looks natural and it would be a shame (and surprise) if it didn’t work.