code-corps / code-corps/code-corps-ember
Introduce ember-changeset and ember-changeset-validations
未關閉
Difficulty: Medium
feature
Priority: High
Skill: ember-changeset
Skill: ember-changeset-validations
Skill: Ember.js
Skill: JavaScript
- 主要語言
- JavaScript
- 星號
- 120
- 分支
- 75
- PR 合併指標
- 30 天內沒有已合併 PR
描述
# Problem
Too much complexity is wrapped up in `save` right now when dealing with models.
Where possible, we should work with changesets, using [`ember-changeset`](https://github.com/DockYard/ember-changeset), which will also allow us to use validations.
## Subtasks
- [ ] Identify places where we can introduce changesets
- [ ] Break out separate issues for tackling these
貢獻指南
研究方向
先找出目前複雜度集中的模型儲存流程,接著確認哪些位置可以使用 changesets 和驗證。當這些候選區域已完成文件記錄,並且已針對每項具體變更建立個別的 issue 後,這項工作就完成了。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- javascript
- 領域
- frontend
- Issue 類型
- 重構
- 難度
- 5/5
- 預估耗時
- 一週以上
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100