Open
Description
Describe the bug
If you have a singular o2o/o2m/m2m relationship in a table the swift generated files by amplify will compile and run correctly. If there are multiple o2o/o2m/m2m relationships in a table that reference multiple different tables, the files generated will not compile.
Steps To Reproduce
Amplify generation 2
Xcode 16.2
used our code for our application as well as followed the tutorial in the documentation. this reproduced on both scenarios.
Expected behavior
compile correctly.
Amplify Framework Version
6.12.0
Amplify Categories
DataStore
Dependency manager
Swift PM
Swift version
5
CLI version
1.4.6
Xcode version
16.2
Relevant log output
<details>
<summary>Log Messages</summary>
INSERT LOG MESSAGES HERE
Is this a regression?
No
Regression additional context
No response
Platforms
iOS
OS Version
iOS 18.2
Device
iPhone 16 pro
Specific to simulators
No response
Additional context
No response