Skip to content
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

Quetions? #1

Open
jsnavarroc opened this issue Nov 3, 2021 · 1 comment
Open

Quetions? #1

jsnavarroc opened this issue Nov 3, 2021 · 1 comment

Comments

@jsnavarroc
Copy link

I have this error when I trying to get the project from an employee:
Error: Undefined resolver type error. Make sure you are providing an explicit object type for the "EmployeeResolver" (e.g., "@Resolver(() => Cat)").
253691465_4136240916476643_6357444967745678309_n

On the other hand, the other question is, how could I get an array list if the Employee has multiple projects?

@jsnavarroc
Copy link
Author

The problem was that I had not put the entity to solve in the class
@resolver (() => Employee)
more information
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant