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

How can extensions contribute (Express) middleware #5423

Closed
2 tasks
bajtos opened this issue May 14, 2020 · 2 comments
Closed
2 tasks

How can extensions contribute (Express) middleware #5423

bajtos opened this issue May 14, 2020 · 2 comments
Labels
Docs Extensions Migration REST Issues related to @loopback/rest package and REST transport in general stale

Comments

@bajtos
Copy link
Member

bajtos commented May 14, 2020

The pull request #5118 introduced the concept of Middleware to LoopBack 4 applications and added a bridging layer allowing users to mount Express middleware in LoopBack 4 applications.

Let's update our documentation for extension developers to explain when and how to use this new feature.

Related:

Acceptance criteria

#5304 added a helper allowing applications to load artifacts from other LB4 applications, see
https://loopback.io/doc/en/lb4/Booting-an-Application.html#boot-an-application-using-component

This concept can be useful to extension authors too, let's update our documentation to explain that in more details.

Related:

Acceptance criteria

  • Add content explaining when and how to leverage the concept of Express middleware new LB4 extensions

    For example, we can add a new page to Extending LoopBack or expand one of the existing pages

  • Add similar content for people migrating a LB3 extension to LB4, see Migrating components and extension. Don't repeat yourself, the migration guide should focus on aspects unique to extensions migrating from LB3 and refer to content created in the step above wherever possible & appropriate.

@bajtos bajtos added Extensions Docs REST Issues related to @loopback/rest package and REST transport in general Migration labels May 14, 2020
@stale
Copy link

stale bot commented Dec 25, 2020

This issue has been marked stale because it has not seen activity within six months. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository. This issue will be closed within 30 days of being stale.

@stale stale bot added the stale label Dec 25, 2020
@stale
Copy link

stale bot commented Jul 14, 2021

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

@stale stale bot closed this as completed Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Docs Extensions Migration REST Issues related to @loopback/rest package and REST transport in general stale
Projects
None yet
Development

No branches or pull requests

1 participant