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

There is a problem with the Extend.register method #2649

Open
1 task done
tqq1994516 opened this issue Jan 5, 2023 · 0 comments
Open
1 task done

There is a problem with the Extend.register method #2649

tqq1994516 opened this issue Jan 5, 2023 · 0 comments
Labels

Comments

@tqq1994516
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I have asked for help on forums before, and I feel that there is a bug in the Extend.register method https://community.sanicframework.org/t/use-dependency-method-in-custom-extensions-not-work/1107/7

Code snippet

No response

Expected Behavior

The Extend.register method can achieve the same effect as app.extend(extensions=[Plugin])

How do you run Sanic?

As a script (app.run or Sanic.serve)

Operating System

linux

Sanic Version

v22.9.1

Additional context

No response

@tqq1994516 tqq1994516 added the bug label Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant