eclipse / microprofile-reactive-streams-operators

Microprofile project
Apache License 2.0
79 stars 33 forks source link

ToGraphable not implemented by the interfaces its docs say they should #140

Closed akarnokd closed 4 years ago

akarnokd commented 4 years ago

The Javadoc of ToGraphable mandates PublisherBuilder, ProcessorBuilder, SubscriberBuilder and CompletionRunner instances implement it, yet the interfaces do not extend ToGraphable to ensure this.

Without it, the TCK fails with ClassCastExceptions.

Is this an oversight or deliberate?

Emily-Jiang commented 4 years ago

From @cescoffier , It is deliberate as we want to hide the interface from the users.