-
Notifications
You must be signed in to change notification settings - Fork 486
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
No way to implement GetRuntimeClassName #1405
Comments
Yes, this is on my radar for the revamped implement macro. |
The trait-based Note that this is currently limited to interfaces. Classes (and exclusive interfaces) are on the way (#1094). |
Thanks! 🙂 I guess it's still impossible to implement it for |
For most scenarios that shouldn't matter, but yes I plan to support activation factories directly, so you won't have to think about implementing that. I also considered providing an option to override the default implementation using a trait if needed, but I'm not there yet. |
Motivation
ActivationFactory
documentation states thatGetRuntimeClassName
should return “ the runtime class name of the object that the currentActivationFactory
instantiates.”Currently, this is not possible to do using
windows-rs
crate.Drawbacks
None
Rationale and alternatives
This makes authoring WinRT components incomplete and potentially error-prone.
Additional context
No response
The text was updated successfully, but these errors were encountered: