-
-
Notifications
You must be signed in to change notification settings - Fork 249
feat: Add messenger delegate
and revoke
methods
#6132
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
d846424
feat: Add messenger `delegate` and `revoke` methods
Gudahtt fae22d6
Update clearActions to handle delegated actions
Gudahtt c1dca62
Fix typos
Gudahtt f0d8027
Update action/event constraints to require namespace
Gudahtt 788736d
Add comment about widened delegated messenger types
Gudahtt 362ff8d
Remove redundant type union entry, and fix type mismatch
Gudahtt 60157bb
Add comment about why delegatedActionHandler type is wider
Gudahtt cf00dad
Clarify owned action/event restriction
Gudahtt d92e9c6
Improve ActionType template description
Gudahtt 0aebd12
Add missing template directive
Gudahtt e0c6a94
Restrict publish to owned events
Gudahtt 6206bb7
Categorize removed class under 'Removed' section
Gudahtt c9142b5
Rename internal delegation methods and improve descriptions
Gudahtt 3c21bec
Expand description of delegate and revoke
Gudahtt 2aabe88
Fix test fixture type error
Gudahtt efecaf0
Add changelog entry about constraint type change
Gudahtt dd6910d
Improve comment and fix typos
Gudahtt 46d1e40
Remove generics from DelegatedMessenger and add capability validation
Gudahtt ea1f9fe
Add missing template directives
Gudahtt 5544bb9
Fix delegatee type inference
Gudahtt 6933a52
Fix changelog merge error
Gudahtt 8cc055f
Prevent clearing delegation subscriptions
Gudahtt e0a709a
Add tests for clearing event subscriptions after delegating
Gudahtt f841de8
Add guard against double-delegation
Gudahtt 19049ef
Improve method handler type safety
Gudahtt 61f5053
Refactor generics to constraint actions/events in generic type, and t…
Gudahtt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.