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
Describe the bug
When using the createRouter method for the legacy backend system, there are errors in the code because RouterOptions require a store and discovery value. As a consumer of the plugin, it isn't clear how to provide these values and it doesn't seem possible to access the classes needed to instantiate the necessary instances.
To Reproduce
Steps to reproduce the behavior:
Follow the directions for installing the latest version of the backend plugin using the legacy backend system.
The IDE complains when you add the code for the backend/plugins/pagerduty.ts file.
Expected behavior
There is a clear and documented approach for using the legacy backend system with newer versions of the plugin.
Desktop (please complete the following information):
OS: Linux (WSL)
Browser: N/A
Version: 0.7.0-0.9.1
Additional context
It seems this was introduced in version 7.0
I also created a ticket here thinking this was a documentation issue.
The text was updated successfully, but these errors were encountered:
Describe the bug
When using the createRouter method for the legacy backend system, there are errors in the code because RouterOptions require a
store
anddiscovery
value. As a consumer of the plugin, it isn't clear how to provide these values and it doesn't seem possible to access the classes needed to instantiate the necessary instances.To Reproduce
Steps to reproduce the behavior:
backend/plugins/pagerduty.ts
file.Expected behavior
There is a clear and documented approach for using the legacy backend system with newer versions of the plugin.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: