You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While initialising a new project with the JavaScript GraphQL starter script I encountered a problem with migrations.
When a new field is added, the CLI automatically runs the migration and re-generates the client library, however, the studio throws an error when the browser is reloaded.
In the following example, I added a facebook field and reloaded the browser.
Suggested Solution
The problem is solved by stoping prisma dev and running it again. Perhaps it makes sense to automatically reload the studio?
The text was updated successfully, but these errors were encountered:
Thanks for reporting @2color and you report this in the perfect timing. We'll release a patch for this within the next 30 min :)
I'll notify you here in the issue and close it once we've released it.
Problem
While initialising a new project with the JavaScript GraphQL starter script I encountered a problem with migrations.
When a new field is added, the CLI automatically runs the migration and re-generates the client library, however, the studio throws an error when the browser is reloaded.
In the following example, I added a
facebook
field and reloaded the browser.Suggested Solution
The problem is solved by stoping
prisma dev
and running it again. Perhaps it makes sense to automatically reload the studio?The text was updated successfully, but these errors were encountered: