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

Adds ability to override GetTrustLevel return value #2714

Merged
merged 2 commits into from
Nov 27, 2023
Merged

Conversation

kennykerr
Copy link
Collaborator

In rare cases, the return value should be changed to allow partial/full trust semantics for WinRT activation. This update introduces a generalized syntax for expressing this so that future implementation customization may be supported as needed. For example:

#[implement(IStringable, TrustLevel = Full)]
struct FullTrust;

Fixes: #2713

@kennykerr kennykerr merged commit 5c5c82a into master Nov 27, 2023
47 checks passed
@kennykerr kennykerr deleted the trust-level branch November 27, 2023 23:59
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.

Add ability to override def impl of IInspectable::GetTrustLevel
2 participants