Reputation: 11
Since v1.4, SQLDelight generated data class only. Before, the tool generated interface and a default implementation of this interface. That was easy to compose objects with associated projections. Is there any change to get these interface back ?
Upvotes: 1
Views: 327
Reputation: 754
see this answer: https://github.com/cashapp/sqldelight/pull/1698#issuecomment-646306522
essentially to keep the backwards compatibility i would copy and paste the old interfaces yourself. We made this change because that really should have been the original implementation but we needed interfaces to support autovalue, thats no longer the case so if there are still situations where you need interfaces they should probably be user code
Upvotes: 1