Skip to content

docs: document implements and mixins for polymorphism #251 - #353

Open
AzazelSensei wants to merge 1 commit into
schultek:mainfrom
AzazelSensei:docs/polymorphism-implements-mixins-251
Open

AzazelSensei wants to merge 1 commit into
schultek:mainfrom
AzazelSensei:docs/polymorphism-implements-mixins-251

Conversation

@AzazelSensei

Copy link
Copy Markdown

The polymorphism page only showed extends. I documented implements (same discriminator setup) and with (user mixins are not a polymorphic base, keep *Mappable last).

I also added tests for those cases.

Closes #251

Explain how implements follows the same discriminator path as
extends, and that user mixins are not a polymorphic base.
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.

Documentation request: recommended way to deal with "with" and "implements" in dart_mappable

1 participant