Type can't be changed from list to scalar for attr: [Comment.user] without dropping it first

Attempting to build the schema in Dgraph Cloud, however I keep getting this error message:

“resolving updateGQLSchema failed because succeeded in saving GraphQL schema but failed to alter Dgraph schema - GraphQL layer may exhibit unexpected behaviour, reapplying the old GraphQL schema may prevent any issues: Type can’t be changed from list to scalar for attr: [Comment.user] without dropping it first.”

Currently following this tutorial on how to make a reddit clone: How to Build a Reddit Clone with React and Dgraph Cloud | HackerNoon

1 Like