Closed ToP29 closed 1 year ago
Have you run the examples on the repo or just created your fresh project by copying the source code?
Have you done all the installation steps for TypeGraphQL itself? https://typegraphql.com/docs/installation.html
Looks like you forgot about proper setup of tsconfig to emit type metadata.
Good point, I didnt do TypeGraphQL installation itself. Now I installed all required modules, and also noticed that there is some mismatch in graphql version with some required peer dependencies, so i downgraded it to 15.8.0 and everything is working now. Thank you very much for help :)
Describe the Bug When I try to start the server from example number 1 it throws this error.
CannotDetermineGraphQLTypeError: Cannot determine GraphQL input type for 'take' of 'AggregatePostArgs' class. Is the value, that is used as its TS type or explicit type, decorated with a proper decorator or is it a proper input value?
Everything was working before, than i had to delete node modules and install them again and it started throwing this error.To Reproduce create project from example number 1, run prisma generate and try to run the server
Expected Behavior It should not throw this error
Logs
Environment (please complete the following information):
typegraphql-prisma
version [e.g. 0.23.1]