GraphQL-Blueprint
GraphQL-Blueprint copied to clipboard
Bug: Adding Relation Field in MongoDB database
Adding a relation field to a Mongo database gives the error:
Uncaught TypeError: object is not iterable (cannot read property Symbol(Symbol.iterator))
at schemaReducer.js:337

Was able to replicate
I believe it happens when you reference the same field twice as a relational field.
I re-encountered that relational field bug. I believe the app breaks once you try to assign a field to another that already has a relationship flagged on it. The app breaks because local storage updates not realizing that an error has been logged. Onlyway to repoen the app is to clear local storage.