-
Notifications
You must be signed in to change notification settings - Fork 402
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
fix(wire): remove WireContextEvent (camelcase) #1681
Conversation
@@ -253,7 +253,7 @@ export class WireEventTarget { | |||
}); | |||
this._cmp.dispatchEvent(internalDomEvent); | |||
return false; // canceling signal since we don't want this to propagate | |||
} else if (evt.type === 'WireContextEvent' || evt.type === 'wirecontextevent') { | |||
} else if (evt.type === 'wirecontextevent') { |
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.
are there tests for this?
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.
None that I found. It seems when the feature was implemented no tests were added.
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.
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.
Those tests exercise the v2 context mechanism: LinkContextEvent
. I believe this WireContextEvent
is the legacy v1 implementation which still has one consumer owned by @jbenallen .
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.
got it.
Details
Followup to #1679 to remove legacy
WireContextEvent
. Usewirecontextevent
instead.Does this PR introduce breaking changes?
Yes, it does introduce breaking changes.
Single consumer of
WireContextEvent
has been updated to usewirecontextevent
so no impact expected.