aws-amplify / amplify-codegen

Amplify Codegen is a JavaScript toolkit library for frontend and mobile developers building Amplify applications.
Apache License 2.0
59 stars 57 forks source link

fix: use correct hasOne on swift references #811

Closed dpilch closed 2 months ago

dpilch commented 2 months ago

Description of changes

Include the .hasOne on model for swift when using references.

Codegen Paramaters Changed or Added

Issue #, if available

N/A

Description of how you validated changes

Unit test

Checklist

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.