Join Slack
Powered by
Is Moshi supposed to ignore `@NotNull`/`@Nullable`...
# squarelibraries
b
bdawg.io
12/20/2017, 1:25 AM
Is Moshi supposed to ignore `@NotNull`/`@Nullable` annotations when it’s creating an object instance?
Copy code
data class Created(val id: Int) adapter.fromJson("{}").toString() // Created(id = null)
2
Views
Open in Slack
Previous
Next