We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
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
Extend.register
No response
The Extend.register method can achieve the same effect as app.extend(extensions=[Plugin])
app.extend(extensions=[Plugin])
As a script (app.run or Sanic.serve)
app.run
Sanic.serve
linux
v22.9.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Is there an existing issue for this?
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/7Code snippet
No response
Expected Behavior
The
Extend.register
method can achieve the same effect asapp.extend(extensions=[Plugin])
How do you run Sanic?
As a script (
app.run
orSanic.serve
)Operating System
linux
Sanic Version
v22.9.1
Additional context
No response
The text was updated successfully, but these errors were encountered: