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
Mine does not. I did run the generator successfully and my generated/graphql does include a Query for posts. It does not however have the above export function.
How do I look for the source of this problem? I'm trying to learn as much as I'm trying to solve this particular problem. Any advice for how to approach problem solving would be gratefully received. I thought the generated/graphql file was created by running yarn gen.
Thank you
The text was updated successfully, but these errors were encountered:
@aseerkt it's strange because it did create the query. I have given up on trying to figure out this tutorial. I think maybe I found it too late to make it work with the current packages used in the project. I found this tutorial, which is more recent and I'll switch focus to try to learn from that project: https://www.prisma.io/blog/fullstack-nextjs-graphql-prisma-oklidw1rhw. If I find an answer, I'll share it in the discord to try and help anyone else that might get stuck with the same problem. Thanks anyway for offering to help.
At 9:17, this code:
is causing an error:
The difference between Ben's updoot branch is that his generated/graphql has got an export as:
Mine does not. I did run the generator successfully and my generated/graphql does include a Query for posts. It does not however have the above export function.
How do I look for the source of this problem? I'm trying to learn as much as I'm trying to solve this particular problem. Any advice for how to approach problem solving would be gratefully received. I thought the generated/graphql file was created by running yarn gen.
Thank you
The text was updated successfully, but these errors were encountered: