You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can we add a method to return all of the registered plugins on a connection? The use case is to provide a comprehensive data point about everything going on inside a hapi server, including registered plugins. Currently, I'm using connection._registrations which is obviously not a good, long term solution.
The text was updated successfully, but these errors were encountered:
The problem is, we don't really know what's going on...
There are two types of plugins, those that change the server only and those that change the connections (and maybe the server). If you load the server-only first, then add a connection, the list will be missing the registration but it will be there. We need the plugin to tell hapi what it is doing for a better outcome. I am working on this elsewhere.
Can we add a method to return all of the registered plugins on a connection? The use case is to provide a comprehensive data point about everything going on inside a hapi server, including registered plugins. Currently, I'm using
connection._registrations
which is obviously not a good, long term solution.The text was updated successfully, but these errors were encountered: