-
-
Notifications
You must be signed in to change notification settings - Fork 266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
__typename is not defined. Bug in 5.1 #627
Comments
Since the stacktrace says this come from |
Hah, yeah I see and know this bug; it's this code: $fieldObject = $parentType->getField($name); Originally in the PR by @crissi we had this protected by an I guess now we know 😄 |
This is pretty breaking change :-( Not sure why we didn't catch this in the tests. Preparing a 5.1.1 hotfix now to revert this particular change, stay tuned |
Versions:
Description:
I upgraded from 5.0 to 5.1 and errors to all of my types are being thrown.
Steps To Reproduce:
Everything works in 5.0, but after running
composer update
theese errors appeared. I didn't find any migration guide for this, so I didn't make any query/type changes and left as is in 5.0.The text was updated successfully, but these errors were encountered: