Skip to content

Allow to conditionally prevent runtimeType check#199

Open
busslina wants to merge 1 commit into
felangel:masterfrom
busslina:master
Open

Allow to conditionally prevent runtimeType check#199
busslina wants to merge 1 commit into
felangel:masterfrom
busslina:master

Conversation

@busslina
Copy link
Copy Markdown

It also export utils in order to be able to customize hashCode

It also export utils in order to be able to customize hashCode
@busslina busslina requested a review from felangel as a code owner April 21, 2025 18:13
@busslina
Copy link
Copy Markdown
Author

I need this changes in order to use equatable on mixins

@Sten435
Copy link
Copy Markdown

Sten435 commented Apr 16, 2026

@busslina Why would this feature be helpful ?

@busslina
Copy link
Copy Markdown
Author

@Sten435 it could be helpful if you want to have two instance of a mixin being compared succesfully. They can have different runtimeTypes. E.G. UserMixin defined on a package, then you have a User and an ExtendedUser which contains extra data from UserExtensions table.

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.

2 participants