loopbackio / loopbackio/loopback-next

Incorrect method used in express-composition example

Đang mở
#8,237 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@achrinza đang làm issue này rồi.

Từ ngày 22/1/2022.

bug Docs
Ngôn ngữ chính
TypeScript
Star
5.1k
Fork
1.1k
Merge trung bình
2 ngày 21 giờ
Pull request đã merge (30 ngày)
27

Mô tả

### Describe the bug

The [documentation](https://loopback.io/doc/en/lb4/express-with-lb4-rest-tutorial.html) 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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.