Skip to content

Commit

Permalink
docs: add note to todo tutorial patch
Browse files Browse the repository at this point in the history
  • Loading branch information
nabdelgadir committed Dec 10, 2018
1 parent 377fa08 commit ac10711
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/site/todo-tutorial-putting-it-together.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,16 @@ Here are some requests you can try:
- `POST /todos` with a body of `{ "title": "get the milk" }`
- `GET /todos/{id}` using the ID you received from your `POST`, and see if you
get your Todo object back.
- `PATCH /todos/{id}` using the same ID, with a body of
- `PATCH /todos/{id}`, using the same ID, with a body of
`{ "desc": "need milk for cereal" }`

{% include note.html content="
For the meantime, use
`{ "title": "get the milk", "desc": "need milk for cereal" }` as the body for
`PATCH/todos/{id}`, as LoopBack 4 doesn't support partial updates yet. For more
info, see [here](https://github.com/strongloop/loopback-next/issues/1722).
" %}

That's it! You've just created your first LoopBack 4 application!

### Where to go from here
Expand Down

0 comments on commit ac10711

Please sign in to comment.