-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
[dotnet] [bidi] Fix events subscription possibilities #16603
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
[dotnet] [bidi] Fix events subscription possibilities #16603
Conversation
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||||||||
|
@RenderMichael @YevgeniyShunevych now public API for end-user looks clear, and provides all required capabilities. But internally the implementation blows my mind. Can we optimize it somehow to avoid types messing? |
RenderMichael
left a comment
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.
I like this approach.
🔗 Related Issues
I am not able to scope global events to
context. Fixes #16582It is design issue. When I am in bidi global context, then I should be able to specify
ContextsorUserContexts.💥 What does this PR do?
Now it is clear. When I use
bidiglobal object, then I can do everything as specification describes. But if I am inbrowsingContext, then events are automatically scoped to this BrowsingContext (implicitly provided when subscribing).🔄 Types of changes