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

Serializable should probably be a mixin #3

Open
kenchris opened this issue Nov 27, 2018 · 3 comments
Open

Serializable should probably be a mixin #3

kenchris opened this issue Nov 27, 2018 · 3 comments

Comments

@kenchris
Copy link

Or something similar so that it can be used for eg. web components

@littledan
Copy link
Owner

Could this be a v2 feature? I don't know of any platform objects which are mixins right now; seems like we would need a lot of infrastructure, not just in specs but also implementations (e.g., how does the branding work?).

@kenchris
Copy link
Author

Sure, but it does seem like a pretty valid use-cases.

Here is the proposal: https://github.com/justinfagnani/proposal-mixins

@littledan
Copy link
Owner

littledan commented Nov 28, 2018

Yeah, I'm a big fan of that proposal, and agree that it has valid use cases. I think it'd be a second work item to make platform objects be mixins, which is much more complicated than the mixin proposal itself.

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

No branches or pull requests

2 participants