Closed (won't fix)
Project:
JSON:API
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
22 Jun 2016 at 16:08 UTC
Updated:
6 Mar 2017 at 06:29 UTC
Jump to comment: Most recent
Comments
Comment #2
gabesulliceI think this could have something to do w/ the typegraph iterator, but I do not want to be blocked by that work. I would like to find a nice pattern for incorporating this and perhaps later refactoring with the iterator if it makes sense.
Comment #3
gabesulliceThis may be related to #2751985: [FEATURE] Add a bundle level relationship to entity level resources if it stays with the concept of 'resource-bundle' relationships. If so, it would be nice to provide some pattern for collecting relationships that do not belong to any entity field. We could 'dogfood' that pattern to provide the 'resource-bundle' relationship, but also to allow other code to provide custom relationships.
Comment #4
dawehnerYeah I agree. I'm wondering whether at that point in time we need a custom/other kind of resource.
Comment #5
e0ipso#2755025: [CLEANUP] Refactor relationships to have a unified base class Should enable this.
We still need a way for applications to alter the schema to add these relationships with some custom business logic, but that's a deeper issue/feature.
Comment #6
e0ipsoThe running assumption is currently that relationships will be based on entity references and family.
Let's reopen this if this becomes hot again.