scio icon indicating copy to clipboard operation
scio copied to clipboard

PubSubIO.WriteParam isn't inferred correctly in IntelliJ for subtypes

Open kellen opened this issue 1 year ago • 1 comments

e.g. when using:

val scoll: SCollection[MyMessage] = ???
scoll.write(PubsubIO.proto[MyMessage](topic))(PubsubIO.WriteParam())

IntelliJ will infer Nothing as the type for the second argument to write. Not sure how/if this is possible to fix on our side.

kellen avatar Sep 02 '22 17:09 kellen