# \#vapor-3

**URL:** https://forums.swift.org/tag/vapor-3/75.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Cannot reference KeyPath correctly](https://forums.swift.org/t/cannot-reference-keypath-correctly/29820)

<div class="topic-metadata">

**Author:** [@jonny](https://forums.swift.org/u/jonny)\
**Replies:** 4\
**Last updated:** [October 15, 2019, 11:08am UTC](https://forums.swift.org/t/cannot-reference-keypath-correctly/29820 "2019-10-15T11:08:14Z")

</div>

Hi I'm having a little difficulty trying to use this key path. So wondering if someone can help point me in the right direction. I'm basically using a protocol to see whether the resource requested is able to be accesse…

---

## [Vapor+Fluent and 2 foreign keys to same parent table](https://forums.swift.org/t/vapor-fluent-and-2-foreign-keys-to-same-parent-table/13488)

<div class="topic-metadata">

**Author:** [@gahms](https://forums.swift.org/u/gahms)\
**Replies:** 1\
**Last updated:** [June 13, 2018, 5:57pm UTC](https://forums.swift.org/t/vapor-fluent-and-2-foreign-keys-to-same-parent-table/13488 "2018-06-13T17:57:59Z")

</div>

I am trying to do 2 joins to the same parent table on two different columns. Is this even possible? What I have: func allItemsHandler(\_ req: Request) throws -\> Future\<View\> { let templateName = "\\(\_itemsName…

---

## [\`Future\`s thread](https://forums.swift.org/t/future-s-thread/12562)

<div class="topic-metadata">

**Author:** [@twof](https://forums.swift.org/u/twof)\
**Replies:** 2\
**Last updated:** [May 11, 2018, 8:48pm UTC](https://forums.swift.org/t/future-s-thread/12562 "2018-05-11T20:48:47Z")

</div>

Thread for tips, tricks, ELI5s, tutorials, extension, etc for Futures. Futures are one of the major pain points when upgrading to Vapor 3 so it'd be helpful to compile some resources. API Docs: https://api.vapor.codes/c…
