Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

M2M does not load related data in junction #222

Closed
wellingguzman opened this issue Jun 28, 2018 · 0 comments
Closed

M2M does not load related data in junction #222

wellingguzman opened this issue Jun 28, 2018 · 0 comments

Comments

@wellingguzman
Copy link
Contributor

Describe the bug
Fetching the junction collection related record are empty

To Reproduce
Steps to reproduce the behavior:

  1. Find a collection with a M2M field
  2. Fetch /items/<that-collection>?fields=*.*.*
  3. See the junction collection with the IDs, but not the related data.

Expected behavior
M2M relationship should automatically populate the junction table relationship based on the M2M record.

A temporary solution is creating a new Many to one relationship between the junction fields and the related collection.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant