-
Notifications
You must be signed in to change notification settings - Fork 44
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
Aliases are not resolved correctly #176
Comments
@timsuchanek can you please provide an example on how to use GraphQL/Prisma bindings in combination with aliases? @nikolasburk please make sure to add this special case regarding aliases to the docs. |
Hi @lewisblackwood, thanks for raising this issue! Can you please confirm that if you are using As @timsuchanek suggested in the thread, we had deployed a fix for this but that does not work is For more details and a workaround, please refer to this comment Thanks! |
Thanks for the reply @divyenduz. I disabled tracing and that did indeed fix the issue with aliases 👍 |
This bug report is based on this thread in the Prisma slack channel.
I'm using
prisma-binding
with agraphql-yoga
app. In some cases, aliases are incorrectly resolved as null. For example, this query:returns:
If I add another
users
subselection to the query, the alias will be resolved correctly:If I look at the logs of the running Yoga server, I can see that data is retrieved for the alias I've used:
The text was updated successfully, but these errors were encountered: