I'm pretty sure links should generated with this.
I was expecting data[0].relationships.reviews.meta
to have a links
object.
- GET /api/v1/scorings?filter[company_id_and_date]=9,2019-09-19&extra_fields[scorings]=employee_name&links=reviews
- adding
, link: true
inhas_many
; - adding a custom
link
block insidehas_many
; - adding
Scoring.autolink = true
; - adding
Graphiti.config.links_on_demand = true
;
I was getting a Graphiti::Errors::InvalidLink error masked by a Rails missing template error.