Replies: 5 comments 3 replies
-
Thanks. I've been through those docs many times. Still cant find an example of how to use it. I have tried several tutors to this point and am still looking for someone that can work this through. I'll share if I ever figure it out. |
Beta Was this translation helpful? Give feedback.
-
Well, the resolvers didn't get created. I'm looking for a tutorial to step through this in greater detail whilst I continue to search for a tutor that can help to make sense of this. Thanks anyway. I'll share if I figure out how to to use this. |
Beta Was this translation helpful? Give feedback.
-
I just added you. I tried to make a Request resolver (in api/src/modules/conciergedesk/conciergeDeskResolver.ts. I can't find what I need to do to get that resolver to become available in web/src/lib/graphql.tsx. The types got generated but the mutation did not. Thank you very much. |
Beta Was this translation helpful? Give feedback.
-
No problem. The resolver hasn't been created anywhere in the project file. Note that the user mutations did get created as resolvers in that same file I referenced. Thanks anyway. Ill keep trying to find a way to figure out what needs to happen. If I figure it out, I'll share a note for others that might be struggling to make sense of the logic. |
Beta Was this translation helpful? Give feedback.
-
Do you know of a tutorial demonstrating how to create a feature, starting with the enum and model in the schema.prisma, and going right through to the form to submit the mutation?
I added a model and an enum to the schema file and ran generate, expecting the graphql.tsx to be generated with all the crud resolvers. Instead, I get types and enums but nothing to interact with the db. I created a resolver, but don't know how to work with the idea behind this tool to have it available in grapqhql.tsx.
I'm using this boilerplate repo as a starting point: https://github.com/NoQuarterTeam/boilerplate. I'd love to figure out how to use it to create a feature on both the back and front ends.
Do you know of any more extensive tutorials/examples that step through each step of the process? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions