diff --git a/AmplifyPlugins/Core/AWSPluginsCore/Model/Support/SelectionSet.swift b/AmplifyPlugins/Core/AWSPluginsCore/Model/Support/SelectionSet.swift index b926808de4..96fe316d43 100644 --- a/AmplifyPlugins/Core/AWSPluginsCore/Model/Support/SelectionSet.swift +++ b/AmplifyPlugins/Core/AWSPluginsCore/Model/Support/SelectionSet.swift @@ -53,7 +53,7 @@ extension SelectionSet { let schema = ModelRegistry.modelSchema(from: associatedModelName) { if recursive { var recursive = recursive - if field._isBelongsToOrHasOne { + if field._isBelongsToOrHasOne && !field.isRequired { recursive = false }