Api Platform Complex Entities Relationship #1821
-
Here is my database design for Symfony Api-Platform. debtors table rows must be updated or inserted from different areas. Example 1; file table post operation. My problem is middle table and it's relation table. As you can see in json data, it has type_id field. I don't want this table in collection or item operations. Maybe dto system and custom data persister are usefull. What's the best solution for this situtation. JSON structure must be is below like.
Can you share your ideas with me? [EDIT] |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Use a custom data persister indeed! |
Beta Was this translation helpful? Give feedback.
Use a custom data persister indeed!