loopbackio / loopbackio/loopback-next

Incorrect method used in express-composition example

Open
#8,237 0 comments 0 reactions 1 assignee View on GitHub

@achrinza is already working on this.

Since Jan 22, 2022.

bug Docs
Dominant language
TypeScript
Stars
5.1k
Forks
1.1k
Avg merge
2d 21h
Merged PRs (30d)
27

Description

Describe the bug

The documentation refers to method pEvent which is no longer used. Instead, we should use the once method that is used by the example

Logs

No response

Additional information

No response

Reproduction

https://loopback.io/doc/en/lb4/express-with-lb4-rest-tutorial.html

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.