-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
rename and improve pluggables #428
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm good with making the pluggable system better which is a great addition here. For the Routing its better in a different PR because its a lot of changes in one go.
For the routing we need:
- Tests for the new way of doing this in an application level and at least inside an Include.
- Tests with OpenAPI. We want to make sure everything is displaying properly. It doesn't need to be a deep test but a simple new test should be enough to prove this works.
a820168
to
8555008
Compare
8555008
to
f03e157
Compare
f03e157
to
bb97e2c
Compare
it is not the pluggable system anymore but the extension system ;) . The old names are deprecated but tested. |
### Standalone object | ||
|
||
But, what if I don't want to use the [Extension](#extension) object for my pluggable? Is this | ||
possible? | ||
´ | ||
yes, it must only implement the ExtensionProtocol. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes capital
# **`Extension`** class | ||
|
||
This is the reference for the main object `Extension`. It is optionally wrapped by | ||
an [Pluggable](./pluggables.md). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a Pluggable
### Changed | ||
|
||
- Pluggables can now receive plain Extensions and Extension classes. | ||
- Rename to extensions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Breaking: Pluggables are now renamed to
Extensions
, check the docs for more information.
Checklist
Summary or description
Changes: