Add support for loading relational data, object brick and field collection #4
prunepal333
started this conversation in
General
Replies: 1 comment
-
@prunepal333 You could use better formatting to help understand your idea :) some php code |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Add support for loading relational data, object brick and field without preloading/creating the data in mapper
For an instance, an object is having attributes (manyToOneRelation, manyToManyRelation, objectBrick, fieldCollection etc.)
My idea would be to follow a convention over configuration for each type similar to LocalisedField (Line 90 in BaseImporter.php)
Sample code:
BaseImporter.php
BaseImporter can be added with procedures/functions for attaching structured data types (like LocalisedField) or subclasses or BaseImporter be created to solve this issue.
Beta Was this translation helpful? Give feedback.
All reactions