kamikat / moshi-jsonapi

JSON API v1.0 Specification in Moshi.
MIT License
156 stars 35 forks source link

Add @Nullable and @NotNull annotations for better interpolation with Kotlin #98

Closed Kevinrob closed 4 years ago

Kevinrob commented 5 years ago

This pull request will help people who develop with Kotlin. Annotations @Nullable and @NotNull help Kotlin compiler to infer good type.

coveralls commented 5 years ago

Coverage Status

Coverage remained the same at 81.906% when pulling 4cba78b633b02e0c19942c6ac662fe7ebdc7cc5e on Kevinrob:nullable-annotations into 2cd5a56f522216c941eda7b87d4f842a74a033e3 on kamikat:master.

Kevinrob commented 5 years ago

@kamikat Is this PR okay for you?

maloz commented 5 years ago

Great improvement for Kotlin users !

Kevinrob commented 4 years ago

We have forked this repo and merged this PR.