-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Deprecate extension via certain types of events #5785
Conversation
2f44fbe
to
90da4b3
Compare
635a731
to
732a9f7
Compare
732a9f7
to
f01e095
Compare
f01e095
to
4444454
Compare
$evm->addEventListener($eventNames, new MyEventListener()); | ||
|
||
The following events are available. |
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.
Do we usually remove docs for things that are deprecated? and if we're doing this, why do we keep the Schema events
Section?
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.
Do we usually remove docs for things that are deprecated?
Not always but I did that recently in #5697 and #5705. The documentation helps users use certain APIs but we don't want them to use them. Furthermore, they may start using a feature because it's documented w/o looking into the implementation or the upgrade docs.
why do we keep the
Schema events
Section?
My understanding is that besides describing the schema events, this section also describes how one could subscribe to an arbitrary event (which is still technically supported). This document will be entirely removed in a subsequent PR, so I don't think we need to restructure it just before its removal.
See #5784 for the details.
This PR deprecates all events except for
postConnect
. Deprecating it (the last remaining one) will require to provide the replacement for its out-of-the-box subscribers:OracleSessionInit
andSQLiteSessionInit
.