# Errata for Chapter 9

**URL:** <https://forums.kodeco.com/t/errata-for-chapter-9/41535>\
**Category:** Server Side Swift with Vapor\
**Created:** [April 13, 2018, 2:25pm UTC](https://forums.kodeco.com/t/errata-for-chapter-9/41535 "2018-04-13T14:25:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mratliff](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/mratliff/32/81494_2.png) [@mratliff](https://forums.kodeco.com/u/mratliff)\
**Post date:** [April 13, 2018, 2:25pm UTC](https://forums.kodeco.com/t/errata-for-chapter-9/41535/1 "2018-04-13T14:25:49Z")

</div>

In Parent Child Relationship chapter.

Section on Querying the Relationship

“Here’s what this route handler does:  
Define a new route handler, getUserHandler(\_:), that returns Future\<[User]\>.”

The Future should be:  
`Future<User>`  
not  
`Future<[User]>`

---

<div class="post-metadata">

**Author:** ![0xtim](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/0xtim/32/111111_2.png) [@0xtim](https://forums.kodeco.com/u/0xtim)\
**Post date:** [April 13, 2018, 11:23pm UTC](https://forums.kodeco.com/t/errata-for-chapter-9/41535/2 "2018-04-13T23:23:20Z")

</div>

Thanks! I’ll get this fixed!

---

<div class="post-metadata">

**Author:** ![brian\_bee](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/brian_bee/32/110349_2.png) [@brian\_bee](https://forums.kodeco.com/u/brian_bee)\
**Post date:** [April 14, 2018, 12:10am UTC](https://forums.kodeco.com/t/errata-for-chapter-9/41535/3 "2018-04-14T00:10:52Z")

</div>

a couple more small issues in this chapter…

“add the following after // Configuire the rest of your application here”:  
No such comment in the file as built from template.  
I assumed this would be at the end of the file, and everything worked just fine.

‘vapor cloud run --env=production “revert --all --yes”’ aborts with message: “[CommandError.excessInput: Too many arguments or unsupported options were supplied: [”–env=production"]]".

Running the command without --env=production and manually specifying the production environment when prompted reverts the db as expected.

---

<div class="post-metadata">

**Author:** ![yungdai](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/yungdai/32/107825_2.png) [@yungdai](https://forums.kodeco.com/u/yungdai)\
**Post date:** [April 17, 2018, 5:57pm UTC](https://forums.kodeco.com/t/errata-for-chapter-9/41535/4 "2018-04-17T17:57:32Z")

</div>

Glad I stumbled upon this, I was confuzzled with why it didn’t work.

---

<div class="post-metadata">

**Author:** ![0xtim](https://assets.chunter.kodeco.com/user_avatar/forums.kodeco.com/0xtim/32/111111_2.png) [@0xtim](https://forums.kodeco.com/u/0xtim)\
**Post date:** [April 18, 2018, 9:25am UTC](https://forums.kodeco.com/t/errata-for-chapter-9/41535/5 "2018-04-18T09:25:06Z")

</div>

Hmm thanks for letting me know! Looks like something has changed, will get that fixed for the next EA
