-
Notifications
You must be signed in to change notification settings - Fork 54
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
🧪 [Experiment] DependencyPropertyGenerator #624
base: main
Are you sure you want to change the base?
Conversation
…cyPropertyGenerator tests
…l, and global.json
…no/Wasm compatibility
…nerator component
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking amazing ❤️
The completeness and stability of the code here inclines me to suggest including it in the mainline repo for 8.2, rather than housing the component in Labs. Labs is a parallel repo where we do incubation and new stuff until stable. Nearing 200 commits, this new component seems stable and well-tested. |
It's well-tested in the sense that I have a ton of unit tests, but it's not really stable. It basically has 0 use in production. I fully expect that stuff might come up to warrant changing the API surface a bit or altering the generated code. Doing that would be a breaking change. I think it'd make sense to let this incubate a bit so that we can be sure stuff doesn't come up 🤔 |
Yeah, seems like we should just merge this into Labs and get feedback on this here? That's its purpose. |
Understood. If we expect that the API surface might change, then testing production via Labs before including it in 8.x stable makes sense. |
Closes #621
This PR introduces a new
DependencyPropertyGenerator
component that utilizes source generators on partial properties to generateDependencyProperty
quickly in your projects. This is the final API shape available with this PR:This went through some community discussion before the current API design was finalized.
This PR includes: