Skip to content

Commit ac10711

Browse files
committed
docs: add note to todo tutorial patch
1 parent 377fa08 commit ac10711

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

docs/site/todo-tutorial-putting-it-together.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,16 @@ Here are some requests you can try:
4646
- `POST /todos` with a body of `{ "title": "get the milk" }`
4747
- `GET /todos/{id}` using the ID you received from your `POST`, and see if you
4848
get your Todo object back.
49-
- `PATCH /todos/{id}` using the same ID, with a body of
49+
- `PATCH /todos/{id}`, using the same ID, with a body of
5050
`{ "desc": "need milk for cereal" }`
5151

52+
{% include note.html content="
53+
For the meantime, use
54+
`{ "title": "get the milk", "desc": "need milk for cereal" }` as the body for
55+
`PATCH/todos/{id}`, as LoopBack 4 doesn't support partial updates yet. For more
56+
info, see [here](https://github.com/strongloop/loopback-next/issues/1722).
57+
" %}
58+
5259
That's it! You've just created your first LoopBack 4 application!
5360

5461
### Where to go from here

0 commit comments

Comments
 (0)