Skip to content

Commit 34d2e81

Browse files
committed
docs: add note to todo tutorial patch
1 parent a3a88b2 commit 34d2e81

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

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

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,17 @@ 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
55+
body for `PATCH/todos/{id}`, as LoopBack 4 doesn't support partial updates yet.
56+
For more info, see
57+
[GitHub issue 1722](https://github.com/strongloop/loopback-next/issues/1722).
58+
" %}
59+
5260
That's it! You've just created your first LoopBack 4 application!
5361

5462
### Where to go from here

0 commit comments

Comments
 (0)