diff --git a/Amplify/Categories/DataStore/Model/Lazy/List+Model.swift b/Amplify/Categories/DataStore/Model/Lazy/List+Model.swift index 09c3b8a3cd..4833ba07e9 100644 --- a/Amplify/Categories/DataStore/Model/Lazy/List+Model.swift +++ b/Amplify/Categories/DataStore/Model/Lazy/List+Model.swift @@ -19,13 +19,13 @@ public class List: Collection, Codable, ExpressibleByArrayLite public typealias Element = ModelType /// Represents the data state of the `List`. - enum LoadedState { + public enum LoadedState { case notLoaded case loaded([Element]) } /// The current state of lazily loaded list - var loadedState: LoadedState + public internal(set) var loadedState: LoadedState /// The provider for fulfilling list behaviors let listProvider: AnyModelListProvider