Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add note to todo tutorial patch #2140

Merged
merged 1 commit into from
Dec 11, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 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,17 @@ 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
[GitHub issue 1722](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