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

generate with redundant types broken for ArgsInfo + enchance #462

Open
jessekrubin opened this issue Aug 12, 2024 · 0 comments
Open

generate with redundant types broken for ArgsInfo + enchance #462

jessekrubin opened this issue Aug 12, 2024 · 0 comments
Labels
bug Something isn't working community Something initiated by the community

Comments

@jessekrubin
Copy link

Describe the Bug
Building with esbuild and redundant types, I get Error: Cannot determine GraphQL input type for 'take' of 'AggregateMyModelArgs' 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?

To Reproduce
Generate with redundant types and try to load/run using esbuild/not-tsc

Expected Behavior
No failure to get type using redundant types

Environment (please complete the following information):

  • OS: [e.g. ubuntu 22]
  • Node (e.g. lts)
  • "typegraphql-prisma": "0.28.0"
  • Prisma 5.18.0
  • ts "typescript": "~5.5.3",
@MichalLytek MichalLytek added bug Something isn't working community Something initiated by the community labels Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working community Something initiated by the community
Projects
None yet
Development

No branches or pull requests

2 participants