relationship-meta
example incorrectly shows link-meta
instead of relationship-meta
#5969
Labels
🏷️ doc
This PR adds/improves/or fixes documentation
data/addon/-private/system/references/reference.ts
Line 153 in 24e69e2
The example for DS.Reference#meta shows a metadata block as a descendant of the
links
object, which does not actually work.According to the JSON:API spec,
meta
is allowed as a sibling/alternative tolinks
. This actually works in Ember Data usingmodel.hasMany(relationship).meta()
, so the example should be updated:The text was updated successfully, but these errors were encountered: