Closed zamargab closed 2 years ago
Hi @zamargab - can you try regenerating your models by running amplify codegen models
?
Note: you'll need to have CLI version >=7.6.10. You can run npm install -g @aws-amplify/cli
to get the latest.
Even after update CLI, my problem was not solved. I solved it by adding line below to ModelProvider class
List
is this a good fix?
The manual fix works but it should not be required. Tips:
amplify --version
to double check which version was installedamplify uninstall -g @aws-amplify/cli
before install the latest versionnpm list -g --depth=1
check the version of amplify-codegen
it should be 2.28.0
Ok.. thanks
@dnys1 you are a life saver. Only your method solved my problem amplify codegen models Thank you a lot
@dnys1 you are really good. very thank you.
Description
I have been using Amplify plugins of versions 0.2.2, I just upgraded to versions 0.4.1 and I am facing an issue, My Modelprovider class that was auto generated by Amplify shows an error and when I try to inspect the error, I get the error message below
Missing concrete implementations of 'getter ModelProviderInterface.customTypeSchemas' and 'setter ModelProviderInterface.customTypeSchemas'. Try implementing the missing methods, or make the class abstract.
Categories
Steps to Reproduce
Screenshots
Platforms
Environment
Dependencies
Device
Iphone 12 mini
OS
IOS 14.4
CLI Version
7.6.2
Additional Context
No response