koishijs / koishijs/docs

自定义服务部分文档使用了过时的 API

Open
#140 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
27
Forks
141
PR merge metrics
No merged PRs in 30d

Description

![image](https://github.com/koishijs/docs/assets/33423008/119b0bab-7ede-4f41-b52d-4f8d38e3eff1)

应当使用 provide 或继承 Service 基类。

下面的说法也不正确,Cordis v3 已经不修改原型链了。

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the custom-service documentation shown in the attached image and read the surrounding guidance. Update the examples to use provide or inherit the Service base class, and correct the statement about Cordis v3 no longer modifying the prototype chain. Done means the affected documentation no longer recommends the outdated API.

Written by the indexing model from the issue text.

Assessment

Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.