Skip to content

Subclass mapping#57

Open
heyzooi wants to merge 2 commits into
PerfectlySoft:masterfrom
heyzooi:subclass_mapping
Open

Subclass mapping#57
heyzooi wants to merge 2 commits into
PerfectlySoft:masterfrom
heyzooi:subclass_mapping

Conversation

@heyzooi
Copy link
Copy Markdown

@heyzooi heyzooi commented Dec 4, 2018

It enables models like

class Animal: Codable {
    var entityId: String? // primary key
    var name: String?
}
class Dog: Animal {
    var breed: String?
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant