Open pablom58 opened 1 year ago
@pablom58 - What does your module definition look like?
Scott
@smolinari
This is my module
Hmm.. Ok. I was hoping you missed the dto definition. That mean, I have no idea what might be the issue.
Btw, this repo is basically abandoned. You can find a repo that is being upkept here:
https://github.com/TriPSs/nestjs-query
And maybe there the Author/ dev (TriPSs) can help you out.
Scott
@pablom58 InjectQueryService(TestOne) readonly service: QueryService<TestOneDto>
should fix the error. I'm not sure if it's package design error
@pablom58 hey, did you ever figure out this issue? It's also happening for me
I am creating a custom resolver but I have a typescript error message in my code editor and I don't know what is the reason.
This is my dto:
This is my entity class:
And this is my custom resolver:
And the error message is:
I am using webstorm but in vscode I have the same error message. I am working with NX for monorepo, but I already tried to create a simple nest project and the error message is the same.
I am using this documentation
The code works and I can use the queries and mutations, but I don't understand the reason for that error message.