Skip to content

Remove usage of 'mixins' for session and root model#5299

Draft
cmdcolin wants to merge 8 commits intomainfrom
rm_mixins
Draft

Remove usage of 'mixins' for session and root model#5299
cmdcolin wants to merge 8 commits intomainfrom
rm_mixins

Conversation

@cmdcolin
Copy link
Copy Markdown
Collaborator

@cmdcolin cmdcolin commented Dec 5, 2025

This is an experimental PR that is somewhat of a large refactor aiming to fix issues like #3965

The use of mixins allows shared functionality but it also has caused confusion with

a) typescript types in some cases
b) just a general confusion of not really being sure where functionality lives

Making this change would cause more code duplication, but I think it may improve developer experience and some usage of typescript typings (it is not 100% ideal typescript wise because each "product" has it's own session types and "plugins" operate on a duck-typed version of the session model generally, not the true type of the each products session model)

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