Will product a AnyPublisher<Int?, Never> instead of the expected AnyPublisher<Int, Never>.
This seems to be a bug or a miss β since if you have a guarantee that every nil value is replaced with a non-null value, you can safely return a non-optional Output type without us having to add a redundant compactMap { $0 }.
I don't know why it even exists to begin with (seems like clutter to me), but it is more code to keep the same level of optionality than it is to reduce itβit saves that Optional initialization.
Yup I forgot to mention the weird overload... This is a strange case for it anyways. I'm wondering if it would stay there forever in the sake of backward compatibility. Otherwise, making it return a Sequence publisher makes some sense, agreed.