-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
feat: [BREAKING_CHANGE] use egg-core #44
Conversation
后来是没开 travis? |
deps eggjs/core#6 |
我先发个 0.1.0-beta.1 测试 |
@fengmk2 这个没有 ci 怎么跑? |
|
private repo 需要收费。。。 |
恩,我现在本地跑的 |
可以重新跑了 |
|
加了个 circleci https://circleci.com/gh/eggjs/egg/2 |
@@ -53,7 +53,7 @@ module.exports = { | |||
* @since 1.0.0 | |||
*/ | |||
i18n: { | |||
enable: false, | |||
enable: true, |
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.
这个需要默认开启的?
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.
原来没开?
@fengmk2 原来 examples 的用例好像就跑不过 |
view 层好像有些用例 skip 了 @atian25 |
* @member {Service} Egg#Service | ||
* @since 1.0.0 | ||
*/ | ||
exports.Service = require('./lib/core/base_service'); |
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.
这个去掉了
@popomore view 的测试, 这里是不是不用引入 egg-view-nunjucks 了? 直接在 fixtures 里面实现一个简单的 view 来测试 render 和 renderString. 等你这个 PR ok 了我再补下 |
@@ -24,7 +25,6 @@ class Application extends EggApplication { | |||
options = options || {}; | |||
options.type = 'application'; | |||
super(options); | |||
this.loader.loadApplication(); |
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.
都合并到 load 里了
@atian25 恩,是的 |
@@ -5,7 +5,7 @@ module.exports = function* () { | |||
bar1: yield this.service.foo.bar.get('bar1name'), | |||
bar2: yield this.service.foo.subdir.bar.get('bar2name'), | |||
'foo.subdir2.sub2': yield this.service.foo.subdir2.sub2.get('bar3name'), | |||
subdir11bar: !!this.service.foo.subdir1, | |||
subdir11bar: yield this.service.foo.subdir1.subdir11.bar.get(), |
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.
支持多层了
这个还差啥? |
差苏千 review |
这个再看看,没问题先把这个合了,不然越来越大 |
觉得可以先合了 |
合一把 |
合了. squash 后就只有一条 commit 了, 后面尽量小 commit 好了, 不然好难写 squash message |
恩,一个 PR 就一个 |
先发个 |
好, 你发吧 |
|
Checklist
npm test
passesAffected core subsystem(s)
loader, Application
Description of change
直接依赖 egg-core,egg-core 有一些不兼容更新
插件