Skip to content

Commit

Permalink
doc update.
Browse files Browse the repository at this point in the history
  • Loading branch information
richardo2016 committed Dec 9, 2018
1 parent 7b4169d commit 2f96800
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/http/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function setup (app: FibApp.FibAppClass) {
else
instances = [_create(data)];

// if not delr in previous step, `o.saveSync` would do associatation operation automatically.
delr && extdata_list.forEach((extdata, i) => {
for (const k in extdata) {
const res = api.epost(req, orm, cls, instances[i], k, extdata[k]);
Expand Down
34 changes: 34 additions & 0 deletions todo.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,40 @@ extend:cls: read
edel
extend:cls: delete

## docs

* [ ] graphql
- [ ] introduction
- [ ] (get)[model]
- [ ] sample
- [ ] find_[model]
- [ ] sample
- [ ] count_[model]
- [ ] sample
- [ ] paging_[model]
- [ ] sample

- [ ] app rest-api
- [ ] introduction
- [ ] app.api.get
- [ ] sample
- [ ] app.api.post
- [ ] sample
- [ ] app.api.put
- [ ] sample
- [ ] app.api.del
- [ ] sample
- [ ] app.api.eget
- [ ] sample
- [ ] app.api.epost
- [ ] sample
- [ ] app.api.elink
- [ ] sample
- [ ] app.api.eput
- [ ] sample
- [ ] app.api.edel
- [ ] sample

## use cases

* [x] 重写用例,用例独立运行, uuid
Expand Down

0 comments on commit 2f96800

Please sign in to comment.