I need some help.
I tried to set a default value with =
in aws graphql API with AWS Amplify
like
type User
@model
@auth(rules: [{allow: public}, {allow: private, operations: [read]}]) {
id: ID!
isFavorite: Boolean
logo: String
status: String = "active" # the issue line
}
then I pushed the code but in the end I got an error:
Syntax Error: Expected Name, found "="
I then deleted this line but when I push or pull with amplify push/pull
I get this error