Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restructure data model #51

Open
sargunv opened this issue Jul 22, 2016 · 0 comments
Open

Restructure data model #51

sargunv opened this issue Jul 22, 2016 · 0 comments

Comments

@sargunv
Copy link
Member

sargunv commented Jul 22, 2016

Kotlin 1.1 is coming soon, which will include data class inheritance. The resource models can probably be reworked with this new feature, which will cause some minor breaking changes in edge cases.

Since there will be another major version bump for this, it's probably also a good time to see if there's any more breaking refactoring that should be done (although most of that was taken care of with 2.0.0).

Should see if NamedApiResource and ApiResource can get a generic parameter for the type of resource it's pointing to. Also should make NamedApiResource extend from ApiResource. Should also add a base class for all API objects since they all include an id and name.

@sargunv sargunv changed the title Kotlin 1.1 Restructure data model May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant