Currently the library enforces models to expose all their fields as public - custom fields as well as _id etc. This is considered bad practice in OOP. Both Moshi and GSON can use field.setAccessible(true) to implement this feature - so should moshi-jsonapi.
Currently the library enforces models to expose all their fields as public - custom fields as well as _id etc. This is considered bad practice in OOP. Both Moshi and GSON can use
field.setAccessible(true)
to implement this feature - so should moshi-jsonapi.