Skip to content
This repository has been archived by the owner on Mar 22, 2019. It is now read-only.

For EmberTimes No. 69: Add Section about Relationship Loading RFC #3643

Merged
merged 1 commit into from
Oct 18, 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: 8 additions & 2 deletions source/blog/2018-10-19-the-ember-times-issue-69.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ responsive: true

---

## [SECTION TITLE](#section-url)
## [Using Relationships Links or Not? Your Call! 🔗](https://github.com/emberjs/rfcs/pull/387)

Fetching your data from a [JSON:API compliant](https://jsonapi.org/) backend? Not sure how to tell Ember Data **explicitly** to look up an included **relationship** in the payload itself vs. via an additional request using the response's `link` attribute?

Possibly, this will be much easier very soon! [Another new, Ember Data related RFC](https://github.com/emberjs/rfcs/pull/387) proposed the addition of a `shouldFindViaLink` method to the public API of REST **adapters**. According to the proposal, users may overwrite this method - which should return a _Boolean_ to indicate if Ember Data should look up relationship data via links or not - themselves for custom behavior and gain full control of their relational data loading.

You can **read more** about the design of this proposed API [**in the RFC itself**](https://github.com/emberjs/rfcs/pull/387)!


---
Expand Down Expand Up @@ -79,7 +85,7 @@ responsive: true

## [#embertimes](https://emberjs.com/blog/tags/newsletter.html) 📰

Want to write for the Ember Times? Have a suggestion for next week's issue? Join us at [#support-ember-times](https://discordapp.com/channels/480462759797063690/485450546887786506) on the [Ember Community Discord](https://discordapp.com/invite/zT3asNS) or ping us [@embertimes](https://twitter.com/embertimes) on Twitter.
Want to write for the Ember Times? Have a suggestion for next week's issue? Join us at [#support-ember-times](https://discordapp.com/channels/480462759797063690/485450546887786506) on the [Ember Community Discord](https://discordapp.com/invite/zT3asNS) or ping us [@embertimes](https://twitter.com/embertimes) on Twitter.

Keep on top of what's been going on in Emberland this week by subscribing to our [e-mail newsletter](https://the-emberjs-times.ongoodbits.com/)! You can also find our posts on the [Ember blog](https://emberjs.com/blog/tags/newsletter.html).

Expand Down