Skip to content

@NonNull changes in DataLoader APIs breaks downstream Kotlin apps. #195

Open
@iparadiso

Description

@iparadiso

Hi folks.

I wanted to bring to your attention the recent changes in version 4.0.0 where @NonNull has been added to the public load API.

Unlike Java, Kotlin enforces strict nullability checks at compile time, which has a significant impact on Kotlin users. This change requires Kotlin developers to refactor their code to handle nullability explicitly, which can be quite challenging across a large fleet of apps.

I noticed that the release notes do not specifically mention the rationale behind this change or if there’s an alternative way to achieve the desired functionality without altering the public APIs. If it's possible to avoid adding these @nonnull annotations to the public API, it would greatly ease the upgrade process for Kotlin users.

Thank you for your consideration and for all the hard work you put into maintaining this library.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions