Skip to content

Nullability Annotations #5151

Closed
Closed
@ScottPierce

Description

@ScottPierce

It would be helpful if RxJava had nullability annotations that might provide warnings to developers in a good IDE. This would be a helpful addition, especially considering RxJava no longer allows streaming of null types.

It would also provide helpful indicators for other JVM languages that have Nullability built in. Kotlin is a good example of this. Currently using RxJava with Kotlin results in most code being interpreted as potentially nullable. Annotating types in the RxJava API would fix this in a way that a side library, like RxKotlin, couldn't.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions