pothos icon indicating copy to clipboard operation
pothos copied to clipboard

Can prismaConnectionHelpers provide totalCount field?

Open charleslai2000 opened this issue 1 year ago • 2 comments

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.

charleslai2000 avatar Apr 07 '24 09:04 charleslai2000

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

hayes avatar Apr 07 '24 16:04 hayes

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

charleslai2000 avatar Apr 13 '24 16:04 charleslai2000