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

Can prismaConnectionHelpers provide totalCount field? #1185

Open
charleslai2000 opened this issue Apr 7, 2024 · 2 comments
Open

Can prismaConnectionHelpers provide totalCount field? #1185

charleslai2000 opened this issue Apr 7, 2024 · 2 comments

Comments

@charleslai2000
Copy link

I have tried prismaConnectionHelpers, when I connect it to a t.connection, it report error because I defined totalCount for all my connection object.

Now can just trying to resolve it from t.connection resolve function but can not find the parent node id.

@hayes
Copy link
Owner

hayes commented Apr 7, 2024

Not currently, I that this could be added but currently I think you'd need to do it outside the helper

@charleslai2000
Copy link
Author

Yes, I finally found a way to do it in t.connnection's resolve function.

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

2 participants