amplify-swift icon indicating copy to clipboard operation
amplify-swift copied to clipboard

Make AnyModel.schema fail with fatalError

Open palpatim opened this issue 5 years ago • 0 comments

Per discussion https://github.com/aws-amplify/amplify-ios/pull/134#discussion_r349721831

We should investigate whether we can make the static AnyModel.schema property getter fail with a fatalError("AnyModel.schema is not supported. Use the instance property, which reflects the schema of the underlying instance.")

palpatim avatar Nov 22 '19 20:11 palpatim