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

TRPC generator doesn't generates count method #618

Closed
mildlysupreme opened this issue Aug 5, 2023 · 3 comments
Closed

TRPC generator doesn't generates count method #618

mildlysupreme opened this issue Aug 5, 2023 · 3 comments
Assignees
Labels
in-progress plugin ZenStack plugin related

Comments

@mildlysupreme
Copy link

Hi! Thank you for awesome software! For some reason TRPC generator doesn't generates count method

image

  • ZenStack version: 1.0.0-beta.11
  • Prisma version: 5.0.0
  • Database type: Postgres
@ymc9
Copy link
Member

ymc9 commented Aug 6, 2023

Hey @mildlysupreme , thanks for reporting this. This is caused by incomplete schema metadata provided by Prisma 😂 - the "count" operation and related structure is missing there. We'll need to patch it somehow.

@imsanchez
Copy link

Thank you for reporting @mildlysupreme!

Issue tracked via omar-dulaimi/prisma-trpc-generator#81

@ymc9
Copy link
Member

ymc9 commented Sep 5, 2023

Fixed in 1.0.0-beta.21

@ymc9 ymc9 closed this as completed Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-progress plugin ZenStack plugin related
Projects
None yet
Development

No branches or pull requests

3 participants