Skip to content
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

Legacy backend implementation does not work with recent versions #142

Open
humbleice opened this issue Oct 3, 2024 · 0 comments
Open

Legacy backend implementation does not work with recent versions #142

humbleice opened this issue Oct 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@humbleice
Copy link

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:

  1. Follow the directions for installing the latest version of the backend plugin using the legacy backend system.
  2. 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.
@humbleice humbleice added the bug Something isn't working label Oct 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant