From 242bf8c50707819327b31f856594fc5df2a698eb Mon Sep 17 00:00:00 2001 From: Jessica Jordan Date: Thu, 18 Oct 2018 23:04:20 +0100 Subject: [PATCH] blog(embertimes#69): ember data shouldfindVialink rfc --- source/blog/2018-10-19-the-ember-times-issue-69.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/source/blog/2018-10-19-the-ember-times-issue-69.md b/source/blog/2018-10-19-the-ember-times-issue-69.md index ac8a202b35..6a3b049db7 100644 --- a/source/blog/2018-10-19-the-ember-times-issue-69.md +++ b/source/blog/2018-10-19-the-ember-times-issue-69.md @@ -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)! --- @@ -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).